Esempio n. 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);
        }
Esempio n. 2
0
 public static void ExceptionOccured(string message, string caption)
 {
     SuperMsgBoxViewModel.ShowSuperMessageBox(message, caption,
                                              smb.SMB.Buttons.OK,
                                              smb.SMB.MsgIcon.EmoteSad);
 }
Esempio n. 3
0
 public static void Inform(string message, string caption)
 {
     SuperMsgBoxViewModel.ShowSuperMessageBox(message, caption,
                                              smb.SMB.Buttons.OK,
                                              smb.SMB.MsgIcon.WinInfo);
 }
Esempio n. 4
0
 public static void AllGood(string message, string caption)
 {
     SuperMsgBoxViewModel.ShowSuperMessageBox(message, caption,
                                              smb.SMB.Buttons.OK,
                                              smb.SMB.MsgIcon.EmoteNormalSmile);
 }
Esempio n. 5
0
 public static void TimeOut(string message, string caption)
 {
     SuperMsgBoxViewModel.ShowSuperMessageBox(message, caption,
                                              smb.SMB.Buttons.OK,
                                              smb.SMB.MsgIcon.TimeOut);
 }
Esempio n. 6
0
 public static void Forbidden(string message, string caption)
 {
     SuperMsgBoxViewModel.ShowSuperMessageBox(message, caption,
                                              smb.SMB.Buttons.OK,
                                              smb.SMB.MsgIcon.EmotePlain);
 }
Esempio n. 7
0
 public static void InvalidEntry(string message, string caption)
 {
     SuperMsgBoxViewModel.ShowSuperMessageBox(message, caption,
                                              smb.SMB.Buttons.OK,
                                              smb.SMB.MsgIcon.Warning3D);
 }
Esempio n. 8
0
 public static void SomethingIsMissing(string message, string caption)
 {
     SuperMsgBoxViewModel.ShowSuperMessageBox(message, caption,
                                              smb.SMB.Buttons.OK,
                                              smb.SMB.MsgIcon.EmotePlain);
 }