Sunday, July 26, 2009

How to use message box in c# with .net?

please help me friends how to get the message conformartion value from the c# code in dot net

How to use message box in c# with .net?
The MessageBox that returns the DialogResult value. You have to check the DialogResult value like the fallowing. The result will returned accoriding to which MessageBoxButtons you have given.





if (DialogResult.Cancel == MessageBox.Show("Your Message Here", "Caption Herer", MessageBoxButtons.OKCancel))


{


//Your Cancel Code


}
Reply:http://www.itebookhome.com/








All the books to help u succed !


No comments:

Post a Comment