/// <summary> /// /// </summary> private void startFingerprintingProcess() { if (mTargetSystems != null) // && mTargetSystems.Count > 0) { this.Cursor = Cursors.WaitCursor; BGW_Scanner.RunWorkerAsync(); } // if (mTarge... }
private void stopFingerprintingProcess() { if (InvokeRequired) { BeginInvoke(new stopFingerprintingProcessDelegate(stopFingerprintingProcess), new object[] { }); return; } try { BGW_Scanner.CancelAsync(); } catch (Exception lEx) { String lMsg = lEx.Message; } try { cTaskFingerprint.stopFingerprint(); } catch (Exception lEx) { String lMsg = lEx.Message; } try { this.Cursor = Cursors.Default; } catch (Exception lEx) { String lMsg = lEx.Message; } }