public static void ShowOptionalWarning(string text, string showNextTimeOptionName, string checkBoxText = null) { WaitDialog.Hide(); var messageForm = new BvOptionalWarning(); var options = new BvOptionalWarningArgs(text, showNextTimeOptionName, checkBoxText); messageForm.ShowForm(options); WaitDialog.Restore(); }
public DialogResult ShowForm(BvOptionalWarningArgs messageArgs) { m_ShowNextTimeOptionName = messageArgs.ShowNextTimeOptionName; m_checkBoxText = messageArgs.CheckBoxText; return(ShowMessageBoxDialog(messageArgs)); }