public static DialogResult Show(IWin32Window owner, string message, string caption, MessageBoxButtons buttons, MessageBoxIcon icon) { using (var form = new DarkDialogMessageBox() { Message = message, Text = caption, DialogButtons = buttons, Icon = icon }) return(form.ShowDialog(owner)); }
public static DialogResult Show(string message) { using (var form = new DarkDialogMessageBox() { Message = message }) return(form.ShowDialog()); }
public static DialogResult Show(string message, string caption, MessageBoxButtons buttons) { using (var form = new DarkDialogMessageBox() { Message = message, Text = caption, DialogButtons = buttons }) return(form.ShowDialog()); }
public static DialogResult Show(string message, string caption, MessageBoxIcon icon) { using (var form = new DarkDialogMessageBox() { Message = message, Text = caption, Icon = icon }) return(form.ShowDialog()); }
public static DialogResult Show(IWin32Window owner, string message, string caption) { using (var form = new DarkDialogMessageBox() { Message = message, Text = caption }) return(form.ShowDialog(owner)); }
public static DialogResult Show(string message, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton) { using (var form = new DarkDialogMessageBox() { Message = message, Text = caption, DialogButtons = buttons, Icon = icon, DefaultButton = defaultButton }) return(form.ShowDialog()); }