Esempio n. 1
0
 void barcodeScanner_DataEvent(object sender, DataEventArgs e)
 {
     string code = encoder.GetString(Globals.barcodeScanner.ScanDataLabel);
     if (code == "SendPackages" && ogp==null && Globals.ActualUser!=null)
     {
         ogp = new OutgoingPackages();
         ogp.Closed += ogp_Closed;
         ogp.Show();
     }
     Globals.barcodeScanner.DataEventEnabled = true;
 }
Esempio n. 2
0
 void ogp_Closed(object sender, EventArgs e)
 {
     ogp = null;
 }