Beispiel #1
0
 public static void ShowBox(Window win, string title, string msg)
 {
     win.Dispatcher.Invoke(() => {
         MsgBoxSimple box = new MsgBoxSimple(win, title, msg);
         box.ShowDialog();
     });
 }
Beispiel #2
0
        public static void ShowBox(string title, string msg)
        {
            MsgBoxSimple box = new MsgBoxSimple(title, msg);

            box.ShowDialog();
        }