private void _miCaptureObjectOptions_Click(object sender, EventArgs e) { bool bTopMost = logWindow.TopMost; logWindow.TopMost = false; if (_captureType != CaptureType.None) { _captureType = CaptureType.None; _engine.StopCapture(); UpdateScreenCaptureItems(); } try { _objectOptions = _engine.ShowCaptureObjectOptionsDialog(this, ScreenCaptureDialogFlags.None, _objectOptions, false, null); } catch (Exception ex) { if (ex.Message != "UserAbort" && ex.Message != "User has aborted operation") { Messager.ShowError(this, ex); } } logWindow.TopMost = bTopMost; }
// Options - Capture Object Options ... private void _miOptionsCaptureObjectOptions_Click(object sender, EventArgs e) { if (_captureType != CaptureType.None) { _captureType = CaptureType.None; _engine.StopCapture(); UpdateMyControls(); UpdateStatusBarText(); } try { _objectOptions = _engine.ShowCaptureObjectOptionsDialog(this, ScreenCaptureDialogFlags.None, _objectOptions, false, null); } catch (Exception ex) { if (ex.Message != "UserAbort" && ex.Message != "User has aborted operation") { Messager.ShowError(this, ex); } } }