Hi
to get the button click from a message box
DialogResult result = MessageBox.Show("Do you really want to continue?", "Test Dialog", MessageBoxButtons.YesNo);
if (result.ToString()=="Yes")
{
}
there are 21 overloaded methods there for control the display of the messagebox