private void OnSigCapDataEvent(int status) { if ((this.oposSigCap != null) && (this.EntryCompleteEvent != null)) { SignatureCaptureNotification notification = new SignatureCaptureNotification() { TerminatedSignatureSource = SignatureTerminationSource.UserTerminated }; this.EntryCompleteEvent(this, notification); } }
/// <summary> /// Stops the capture. /// </summary> public void StopCapture() { if ((this.oposSigCap != null) && (this.EntryCompleteEvent != null)) { SignatureCaptureNotification notification = new SignatureCaptureNotification() { TerminatedSignatureSource = SignatureTerminationSource.CashierTerminaited }; this.EntryCompleteEvent(this, notification); } }