Example #1
0
 private void ShowInfo(BarCodeHook.BarCodes barCode)
 {
     if (this.InvokeRequired)
     {
         this.BeginInvoke(new ShowInfoDelegate(ShowInfo), new object[] { barCode });
     }
     else
     {
         System.Console.WriteLine(barCode.KeyName);
         textBox6.Text = textBox6.Text + barCode.KeyName;
     }
 }
Example #2
0
 void BarCode_BarCodeEvent(BarCodeHook.BarCodes barCode)
 {
     ShowInfo(barCode);
 }