/// <summary>The show.</summary>
 /// <param name="message">The message.</param>
 /// <param name="endHandler">The end handler.</param>
 public static void Show(string message, DependencyPropertyChangedEventHandler endHandler = null)
 {
     view.Dispatcher.Invoke(
         () =>
     {
         view.Hide();
         view.Message    = message;
         endEventHandler = endHandler;
         view.Show();
     });
 }
Example #2
0
 /// <summary>Notifies a message.</summary>
 /// <param name="message">The message.</param>
 public void Notify(string message)
 {
     NotificationView.Show(message);
 }