コード例 #1
0
        //Stop UI Timer and stop Data collection timer.
        private void StartStopToggle_Unchecked(object sender, RoutedEventArgs e)
        {
            newDevice.StopCollecting();
            timer.Stop();

            startStopToggle.Content = "Start";
        }
コード例 #2
0
 private void stopButton_Click(object sender, RoutedEventArgs e)
 {
     //When the stop button is clicked, stop collecting data
     //Disable the stop button
     //Enable the start button
     measureLengthDevice.StopCollecting();
     stopButton.IsEnabled  = false;
     startButton.IsEnabled = true;
 }