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