public static void ShowMsgTitle(string title, string msg)
 {
     STATIC_APP.DispatchProxy(() => {
         try {
             MsgBoxSimple.ShowBox(title, msg);
         }
         catch (Exception) { }
     });
 }
 public static void ShowErrMsg(string msg)
 {
     STATIC_APP.DispatchProxy(() => {
         try {
             MsgBoxSimple.ShowBox(DI.W.GetText(MsgCode.Error), msg);
         }
         catch (Exception) { }
     });
 }
Exemple #3
0
 public static void ShowMsgTitle(string title, string msg)
 {
     try {
         MsgBoxSimple.ShowBox(title, msg);
     }
     catch (Exception e) {
         LOG.Exception(9999, "ShowMsgTitle", "", e);
     }
 }
Exemple #4
0
 /// <summary>Open a custom message box centered on caller</summary>
 /// <param name="win">The window opening the message box</param>
 /// <param name="title">The text to show on title bar</param>
 /// <param name="msg">The message to display</param>
 public static void ShowMsgBox(this Window win, string title, string msg)
 {
     try {
         MsgBoxSimple.ShowBox(win, title, msg);
     }
     catch (Exception e) {
         LOG.Exception(9999, "ShowMsgBox", "", e);
     }
 }
Exemple #5
0
 public static void ShowMsg(string msg)
 {
     try {
         MsgBoxSimple.ShowBox(DI.Wrapper.GetText(MsgCode.Error), msg);
     }
     catch (Exception e) {
         LOG.Exception(9999, "ShowMsg", "", e);
     }
 }