Click here to Skip to main content
15,892,839 members
Home / Discussions / C#
   

C#

 
GeneralRe: MessageBox is displayed twice.... Help! Pin
J4amieC2-Apr-09 0:26
J4amieC2-Apr-09 0:26 
GeneralRe: MessageBox is displayed twice.... Help! Pin
Vikram A Punathambekar2-Apr-09 0:26
Vikram A Punathambekar2-Apr-09 0:26 
AnswerRe: MessageBox is displayed twice.... Help! Pin
J4amieC2-Apr-09 0:31
J4amieC2-Apr-09 0:31 
AnswerRe: MessageBox is displayed twice.... Help! Pin
J4amieC2-Apr-09 0:32
J4amieC2-Apr-09 0:32 
GeneralRe: MessageBox is displayed twice.... Help! Pin
Michael Bookatz2-Apr-09 1:06
Michael Bookatz2-Apr-09 1:06 
GeneralRe: MessageBox is displayed twice.... Help! Pin
Pete O'Hanlon2-Apr-09 1:37
mvePete O'Hanlon2-Apr-09 1:37 
AnswerRe: MessageBox is displayed twice.... Help! Pin
musefan2-Apr-09 2:37
musefan2-Apr-09 2:37 
AnswerRe: MessageBox is displayed twice.... Help! Pin
0x3c02-Apr-09 6:00
0x3c02-Apr-09 6:00 
DialogResult messageBoxResult = MessageBox.Show(...);

if(messageBoxResult == DialogResult.Ok)
{
    //User pressed OK
}
else if(messageBoxResult == DialogResult.Cancel)
{
    //User pressed cancel
}

You may want to note that MessageBox.Show only gets invoked once. Incidentally, the first exclamation point passed to your method should be a question mark, and "selct" should be "select"
Questiondatagridview DataPropertyName Problem Pin
Nitin K2-Apr-09 0:02
Nitin K2-Apr-09 0:02 
QuestionThread.Sleep() Pin
yesu prakash1-Apr-09 23:55
yesu prakash1-Apr-09 23:55 
AnswerRe: Thread.Sleep() Pin
12Code2-Apr-09 0:03
12Code2-Apr-09 0:03 
AnswerRe: Thread.Sleep() Pin
Megidolaon2-Apr-09 0:53
Megidolaon2-Apr-09 0:53 
AnswerRe: Thread.Sleep() Pin
musefan2-Apr-09 2:43
musefan2-Apr-09 2:43 
GeneralRe: Thread.Sleep() Pin
yesu prakash2-Apr-09 19:19
yesu prakash2-Apr-09 19:19 
Question[Message Deleted] Pin
Rajdeep.NET is BACK1-Apr-09 23:55
Rajdeep.NET is BACK1-Apr-09 23:55 
AnswerRe: Help needed again....MessageBox pops up Twice! Pin
12Code1-Apr-09 23:59
12Code1-Apr-09 23:59 
GeneralRe: Help needed again....MessageBox pops up Twice! Pin
Rajdeep.NET is BACK2-Apr-09 0:09
Rajdeep.NET is BACK2-Apr-09 0:09 
GeneralRe: Help needed again....MessageBox pops up Twice! Pin
12Code2-Apr-09 0:17
12Code2-Apr-09 0:17 
GeneralRe: Help needed again....MessageBox pops up Twice! PinPopular
J4amieC2-Apr-09 0:11
J4amieC2-Apr-09 0:11 
AnswerRe: Help needed again....MessageBox pops up Twice! Pin
King Julien2-Apr-09 0:06
King Julien2-Apr-09 0:06 
QuestionHow do i Create a simple HTTP web server in C# ? Pin
sportsonpc1-Apr-09 23:02
sportsonpc1-Apr-09 23:02 
AnswerRe: How do i Create a simple HTTP web server in C# ? Pin
sportsonpc1-Apr-09 23:24
sportsonpc1-Apr-09 23:24 
AnswerRe: How do i Create a simple HTTP web server in C# ? Pin
#realJSOP2-Apr-09 0:16
mve#realJSOP2-Apr-09 0:16 
QuestionDeleting Folder...... Please Help! Pin
Rajdeep.NET is BACK1-Apr-09 23:00
Rajdeep.NET is BACK1-Apr-09 23:00 
AnswerRe: Deleting Folder...... Please Help! Pin
musefan1-Apr-09 23:01
musefan1-Apr-09 23:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.