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