private void StartStopButton_Click(object sender, RoutedEventArgs e) { if (EventsLog.Running) { EventsLog.Stop(); } else { EventsLog.StartLogging(); } }
private static void MainWindow_Closing(object sender, CancelEventArgs e) { EventsLog.Stop(); }
private void StartStopButton_Click(object sender, RoutedEventArgs e) { if (EventsLog.Running) { EventsLog.Stop(); } else { EventsLog.StartLogging(); } }
private static void MainWindow_Closing(object sender, CancelEventArgs e) { EventsLog.Stop(); }