Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# messagebox result

//MessageBox.Result
DialogResult result = MessageBox.Show("Do you like cats?", "Yes or No?", messageBoxButtons.YesNoCancel);

if (result == DialogResult.Yes)
    ;
else if (result == DialogResult.No)
    ;
else
    ;
Source by devarama.com #
 
PREVIOUS NEXT
Tagged: #messagebox #result
ADD COMMENT
Topic
Name
7+4 =