Answers for "c# wpf messagebox result"

2

wpf show message box

MessageBox.Show("Hello MessageBox");
Posted by: Guest on May-27-2021
2

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
    ;
Posted by: Guest on June-05-2020

Browse Popular Code Answers by Language