Exemplo n.º 1
0
 public static DialogResult Show(IWin32Window form, string title, string message, MessageBoxButtons mbb, MessageBoxIcon mbi)
 {
     BasicMsgBoxForm im = new BasicMsgBoxForm(message, title, mbb, mbi);
     im.StartPosition = FormStartPosition.CenterParent;
     return im.ShowDialog(form);
 }
Exemplo n.º 2
0
 public static void Show(string title, string message)
 {
     BasicMsgBoxForm im = new BasicMsgBoxForm(message, title, MessageBoxButtons.OK, MessageBoxIcon.Information);
     im.StartPosition = FormStartPosition.CenterScreen;
     im.Show();
 }
Exemplo n.º 3
0
 public static DialogResult Show(IWin32Window form, string message)
 {
     BasicMsgBoxForm im = new BasicMsgBoxForm(message, "", MessageBoxButtons.OK, MessageBoxIcon.Information);
     im.StartPosition = FormStartPosition.CenterParent;
     return im.ShowDialog(form);
 }
Exemplo n.º 4
0
 public static DialogResult Show(string message)
 {
     BasicMsgBoxForm im = new BasicMsgBoxForm(message,"", MessageBoxButtons.OK,MessageBoxIcon.Information);
     im.StartPosition = FormStartPosition.CenterScreen;
     return im.ShowDialog();
 }