コード例 #1
0
        void BtnStopClick(object sender, EventArgs e)
        {
            btnStop.IsEnabled  = false;
            btnStart.IsEnabled = true;
            btnPause.IsEnabled = false;

            StopRecordingDelegate stopRec = new StopRecordingDelegate(StopRecordingMethod);
            ////this.Invoke(stopRec, this.Cmdlet);
            //// this.Cmdlet.Paused = true;
//// Global.GTranscript = false;
//// System.Windows.Forms.MessageBox.Show("Stopped!");
////this.Cmdlet.StopProcessing();
        }
コード例 #2
0
ファイル: RecorderFrom.xaml.cs プロジェクト: MatkoHanus/STUPS
        void BtnStopClick(object sender, EventArgs e)
        {
            btnStop.IsEnabled = false;
            btnStart.IsEnabled = true;
            btnPause.IsEnabled = false;
            
            StopRecordingDelegate stopRec = new StopRecordingDelegate(StopRecordingMethod);
            ////this.Invoke(stopRec, this.Cmdlet);
            //// this.Cmdlet.Paused = true;
//// Global.GTranscript = false;
//// System.Windows.Forms.MessageBox.Show("Stopped!");
 ////this.Cmdlet.StopProcessing();
        }