Hi all,
I am developing an applicaton, and i want to include PopUp messages in my application
is someone help me to do so
Thank's
Vikrant
PopUp Mesages in C#.Net
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
AnttiRank #9,295 · 208 pointsPosted Dec 21, 2005, 11:21 AM EST
nARCIS NARCIS6 pointsPosted Dec 21, 2005, 12:55 PM EST
more speciffic:
MessageBox.Show("Hellow", "This is a Window title", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); // this is a simple messbox but maybe you want buttons?
try these...>>
DialogResult result ;
result = MessageBox.Show("Hellow", "This is a Window title", MessageBoxButtons.OKCancel, MessageBoxIcon.Exclamation);
if(result==DialogResult.OK){
// does your code
}else{
// the other code
}