private void Window_Loaded(object sender, RoutedEventArgs e) { if (!ErrorHandler.CheckService()) { MessageBox.Show("The local error service is not available - need to run it.", "Error", MessageBoxButton.OK, MessageBoxImage.Error); this.Close(); } }
private void Window_Loaded(object sender, RoutedEventArgs e) { if (!ErrorHandler.CheckService()) { MessageBox.Show("The local error service is not available - need to run it.", "Error", MessageBoxButton.OK, MessageBoxImage.Error); this.Close(); } }