示例#1
0
 public static DialogResult Message(Control ctrl, Exception ex)
 {
     return(HelperClass.Message(ctrl, ex, null, MessageBoxIcon.Information, MessageBoxButtons.OK));
 }
示例#2
0
 public static DialogResult Message(Control ctrl, Exception ex, string caption, MessageBoxIcon icon)
 {
     return(HelperClass.Message(ctrl, ex, caption, icon, MessageBoxButtons.OK));
 }
示例#3
0
 public static DialogResult Message(Control ctrl, string msg,
                                    string caption)
 {
     return(HelperClass.Message(ctrl, msg, caption, MessageBoxIcon.Information, MessageBoxButtons.OK));
 }