ScreenToGif.Modern.Cancel C# (CSharp) Method

Cancel() private method

Cancels the editor phase, returning to the recording.
private Cancel ( ) : void
return void
        private void Cancel()
        {
            FinishState();

            btnRecordPause.Text = Resources.btnRecordPause_Record;
            btnRecordPause.Image = Resources.Record;
            btnRecordPause.ImageAlign = ContentAlignment.MiddleLeft;
            this.Text = Resources.TitleStoped;

            AutoFitButtons();

            try
            {
                //_actHook.KeyDown += KeyHookTarget;
                _actHook.OnMouseActivity += null;
                _actHook.Start(true, true);
            }
            catch (Exception) { }

            Directory.Delete(_pathTemp, true);
        }
Modern