Exemplo n.º 1
0
 public static void ShowBox(Window win, string title, string msg)
 {
     win.Dispatcher.Invoke(() => {
         try {
             MsgBoxSimple box = new MsgBoxSimple(win, title, msg);
             box.ShowDialog();
         }
         catch (Exception) { }
     });
 }
Exemplo n.º 2
0
        public static void ShowBox(string title, string msg)
        {
            MsgBoxSimple box = new MsgBoxSimple(title, msg);

            box.ShowDialog();
        }