| | |
| | | using System.ComponentModel; |
| | | using System.Data; |
| | | using System.Drawing; |
| | | using System.IO; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | using static Bro.Common.Helper.EnumHelper; |
| | |
| | | Process_M071.OnFullResetDone -= Process_M071_FullResetDone; |
| | | Process_M071.OnFullResetDone += Process_M071_FullResetDone; |
| | | |
| | | Process_M071.OnResetDone -= Process_M071_ResetDone; |
| | | Process_M071.OnResetDone += Process_M071_ResetDone; |
| | | |
| | | Config.PropertyChanged -= Config_PropertyChanged; |
| | | Config.PropertyChanged += Config_PropertyChanged; |
| | | |
| | |
| | | |
| | | Process_M071.OnCheckHintUpload = OnCheckHintUpload; |
| | | Process_M071.OnOperatorLogin = OnOperatorLogin; |
| | | } |
| | | |
| | | private void Process_M071_ResetDone() |
| | | { |
| | | lblCT.BeginInvoke(new Action(() => |
| | | { |
| | | lblCT.Text = ""; |
| | | })); |
| | | } |
| | | |
| | | private void Config_PropertyChanged(object sender, PropertyChangedEventArgs e) |
| | |
| | | { |
| | | _barcode += keyStr.Substring(1).ToUpper(); |
| | | } |
| | | else if (keyStr.StartsWith("NumPad")) |
| | | { |
| | | _barcode += keyStr.Replace("NumPad", ""); |
| | | } |
| | | |
| | | if (e.KeyValue == 13) |
| | | { |