Exemple #1
0
 public static DialogResult ShowWarn(string Msg)
 {
     using (FrmMsgBox frm = new FrmMsgBox("提示信息", Msg))
     { return(frm.ShowDialog()); }
 }
Exemple #2
0
 public static DialogResult ShowQuestion(string Msg)
 {
     using (FrmMsgBox frm = new FrmMsgBox("询问信息", Msg, MsgTypeEnum.Question, MsgBtnTypeEnum.YesNo))
     { return(frm.ShowDialog()); }
 }
Exemple #3
0
 public static DialogResult ShowError(string Mes)
 {
     using (FrmMsgBox frm = new FrmMsgBox("错误异常", Mes))
     { return(frm.ShowDialog()); }
 }