disable cancel dialog result (we handle it ourself already)
This commit is contained in:
@@ -182,8 +182,12 @@ public partial class FlyoutBase : UserControl
|
||||
{
|
||||
if (RegisterDialogAccept)
|
||||
frm.AcceptButton = button_Accept;
|
||||
|
||||
if (RegisterDialogCancel)
|
||||
{
|
||||
frm.CancelButton = button_Cancel;
|
||||
button_Cancel.DialogResult = DialogResult.None;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user