Beispiel #1
0
 private void CaptureFolio_GotFocus(object sender, EventArgs e)
 {
     if (type == MenuForm.typeFolio.unloading)
     {
         if (readerUnloading == null)
         {
             readerUnloading = new InventoryForm(menu);
         }
     }
     else
     {
         if (readerLoading == null)
         {
             readerLoading = new OrderExitForm(menu);
         }
     }
     if (menu.showCaptureFolio == false)
     {
         menu.showCaptureFolio = true;
         this.Hide();
     }
 }
Beispiel #2
0
 private void InitReadersForm()
 {
     if (type == MenuForm.typeFolio.unloading)
     {
         if (readerUnloading == null)
         {
             readerUnloading = new InventoryForm(menu);
         }
     }
     else
     {
         if (readerLoading == null)
         {
             readerLoading = new OrderExitForm(menu);
         }
     }
     if (menu.showCaptureFolio == false)
     {
         menu.showCaptureFolio = true;
         this.Hide();
     }
 }