示例#1
0
        private void StopCapture()
        {
            SetBtnCaptureContent("Start Recording");
            btnCapture.IsEnabled               = true;
            btnEndSessionAndUpload.IsEnabled   = true;
            btnEndAndStartNewSession.IsEnabled = true;

            BtnRedoSweep.Visibility = Visibility.Visible;

            _captureController.StopCapture();
            btnCapture.Background = buttonBg;
        }
示例#2
0
 private void Stop_Click(object sender, RoutedEventArgs e)
 {
     new Thread(() => { _captureController.StopCapture(); }).Start();
 }