public static DialogResult Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon) { MessageBoxForm form = new MessageBoxForm(owner, text, caption, buttons, icon); return(form.RunDialog()); }
public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options) { MessageBoxForm form = new MessageBoxForm(null, text, caption, buttons, icon, defaultButton, options, false); return(form.RunDialog()); }
public static DialogResult Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton) { MessageBoxForm form = new MessageBoxForm(owner, text, caption, buttons, icon, defaultButton, MessageBoxOptions.DefaultDesktopOnly, false); return(form.RunDialog()); }
public static DialogResult Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, HelpNavigator navigator, object param) { MessageBoxForm form = new MessageBoxForm(owner, text, caption, buttons, icon, defaultButton, options, true); form.SetHelpData(helpFilePath, null, navigator, param); return(form.RunDialog()); }
public static DialogResult Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, string keyword) { MessageBoxForm form = new MessageBoxForm(owner, text, caption, buttons, icon, defaultButton, options, true); form.SetHelpData(helpFilePath, keyword, HelpNavigator.TableOfContents, null); return(form.RunDialog()); }
public static DialogResult Show(string text, string caption, MessageBoxButtons buttons) { MessageBoxForm form = new MessageBoxForm(null, text, caption, buttons, MessageBoxIcon.None); return(form.RunDialog()); }
public static DialogResult Show(IWin32Window owner, string text) { MessageBoxForm form = new MessageBoxForm(owner, text, string.Empty, MessageBoxButtons.OK, MessageBoxIcon.None); return(form.RunDialog()); }