/// <summary> /// OnProcessScannedCodes starts the decoding process /// </summary> /// <param name="type">BarcodeProcessType</param> protected virtual void OnProcessScannedCodes(BarcodeProcessType type) { ProcessScannedCodes(this, new BarcodeProcessEventArgs() { type = type }); }
private void btnProcess_Click(object sender, EventArgs e) { BarcodeProcessType ProcessType = BarcodeProcessType.DISPATCH; if (rbDispatch.Checked) { ProcessType = BarcodeProcessType.DISPATCH; } else if (rbRigging.Checked) { ProcessType = BarcodeProcessType.RIGGING; } OnProcessScannedCodes(ProcessType); }
public ScanObject(BarcodeProcessType type, string identifier) { this.ScanObjectType = type; this.ScanObjectIdentifier = identifier; }