Ejemplo n.º 1
0
 private void StartStopButton_Click(object sender, RoutedEventArgs e)
 {
     if (EventsLog.Running)
     {
         EventsLog.Stop();
     }
     else
     {
         EventsLog.StartLogging();
     }
 }
Ejemplo n.º 2
0
 private static void MainWindow_Closing(object sender, CancelEventArgs e)
 {
     EventsLog.Stop();
 }