Beispiel #1
0
 public void ShowMsg(string title, string subTitle = "", string iconPath = "")
 {
     Application.Current.Dispatcher.Invoke(() =>
     {
         var m = new Msg { Owner = Application.Current.MainWindow };
         m.Show(title, subTitle, iconPath);
     });
 }
Beispiel #2
0
 public void ShowMsg(string title, string subTitle, string iconPath)
 {
     var m = new Msg { Owner = GetWindow(this) };
     m.Show(title, subTitle, iconPath);
 }
Beispiel #3
0
 public void ShowMsg(string title, string subTitle, string iconPath)
 {
     Dispatcher.Invoke(new Action(() =>
     {
         var m = new Msg { Owner = GetWindow(this) };
         m.Show(title, subTitle, iconPath);
     }));
 }