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(); } }
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(); } }