示例#1
0
 public void ShowError(string text)
 {
     Dispatcher.BeginInvoke(DispatcherPriority.Normal,
                            (ThreadStart) delegate()
     {
         NotificationSource.Show(text, NotificationType.Error);
     }
                            );
 }
示例#2
0
 public void ShowError(string message)
 {
     NotificationSource.Show(message, NotificationType.Error);
 }
示例#3
0
 public void ShowWarning(string message)
 {
     NotificationSource.Show(message, NotificationType.Warning);
 }
示例#4
0
 public void ShowSuccess(string message)
 {
     NotificationSource.Show(message, NotificationType.Success);
 }
示例#5
0
 public void ShowInformation(string message)
 {
     NotificationSource.Show(message, NotificationType.Information);
 }