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