C1MessageBox.Show("Do you want to delete?", "The question", C1MessageBoxButton.YesNoCancel, C1MessageBoxIcon.Question,
new System.Action<MessageBoxResult>((result) =>
{
switch (result)
{
case MessageBoxResult.Yes:
MessageBox.Show("You Pressed Yes");
break;
case MessageBoxResult.No:
MessageBox.Show("You Pressed No");
break;
case MessageBoxResult.Cancel:
MessageBox.Show("Are you sure you want to cancel");
break;
}
}));
A C1 Visual Style aware Message Box - Our ComponentOne
and
http://our.componentone.com/groups/topic/c1messageboxresult/
No comments:
Post a Comment