Пример #1
0
 public void ShowOKDispatch(string text, string header)
 {
     DispatchUtil.SafeDispatch(() => MessageBox.Show(text, header, MessageBoxButton.OK, MessageBoxImage.Information));
 }
Пример #2
0
 public void ShowErrorDispatch(string text, string header)
 {
     DispatchUtil.SafeDispatch(() => MessageBox.Show(text, header, MessageBoxButton.OK, MessageBoxImage.Error));
 }