Пример #1
0
        public static DialogResult AskToConfirm(string message, string caption)
        {
            DialogResult result = SuperMsgBoxViewModel.ShowSuperMessageBox(message, caption,
                                                                           smb.SMB.Buttons.YesNoCancel,
                                                                           smb.SMB.MsgIcon.Important);

            return(result);
        }
Пример #2
0
 public static void ExceptionOccured(string message, string caption)
 {
     SuperMsgBoxViewModel.ShowSuperMessageBox(message, caption,
                                              smb.SMB.Buttons.OK,
                                              smb.SMB.MsgIcon.EmoteSad);
 }
Пример #3
0
 public static void Inform(string message, string caption)
 {
     SuperMsgBoxViewModel.ShowSuperMessageBox(message, caption,
                                              smb.SMB.Buttons.OK,
                                              smb.SMB.MsgIcon.WinInfo);
 }
Пример #4
0
 public static void AllGood(string message, string caption)
 {
     SuperMsgBoxViewModel.ShowSuperMessageBox(message, caption,
                                              smb.SMB.Buttons.OK,
                                              smb.SMB.MsgIcon.EmoteNormalSmile);
 }
Пример #5
0
 public static void TimeOut(string message, string caption)
 {
     SuperMsgBoxViewModel.ShowSuperMessageBox(message, caption,
                                              smb.SMB.Buttons.OK,
                                              smb.SMB.MsgIcon.TimeOut);
 }
Пример #6
0
 public static void Forbidden(string message, string caption)
 {
     SuperMsgBoxViewModel.ShowSuperMessageBox(message, caption,
                                              smb.SMB.Buttons.OK,
                                              smb.SMB.MsgIcon.EmotePlain);
 }
Пример #7
0
 public static void InvalidEntry(string message, string caption)
 {
     SuperMsgBoxViewModel.ShowSuperMessageBox(message, caption,
                                              smb.SMB.Buttons.OK,
                                              smb.SMB.MsgIcon.Warning3D);
 }
Пример #8
0
 public static void SomethingIsMissing(string message, string caption)
 {
     SuperMsgBoxViewModel.ShowSuperMessageBox(message, caption,
                                              smb.SMB.Buttons.OK,
                                              smb.SMB.MsgIcon.EmotePlain);
 }