Exemplo n.º 1
0
 private void LogButton_Click(object sender, RoutedEventArgs e)
 {
     if (device.IsLogging())
     {
         device.StopLogging();
         logButton.Content = "Start Log";
     }
     else
     {
         logButton.Content = "Stop Log";
         device.StartLogging();
     }
 }