private void productToolStripMenuItem_Click(object sender, EventArgs e) { if (this.MdiChildren.Length < 1) { try { Product_Maintenance PM = new Product_Maintenance(); PM.MdiParent = this; PM.Show(); } catch (Exception ex) { MessageBox.Show("Error:" + ex); } } else { ModuleWarning MW = new ModuleWarning(); MW.Show(); } /*AdminMenu.MdiParent = me * AdminMenu.formporderstyle = Windows.Forms.FormBorderStyle.None; * AdminMenu.ControlBox = false; * AdminMenu.MaximizeBox = false; * AdminMenu.MinimizeBox = false; * AdminMenu.text = ""; * AdminMenu.dock = DockStyle.Fill;*/ }
private void priceListToolStripMenuItem_Click(object sender, EventArgs e) { if (this.MdiChildren.Length < 1) { try { Price_Inquiry PSI = new Price_Inquiry(); PSI.MdiParent = this; PSI.Show(); } catch (Exception ex) { MessageBox.Show("Error:" + ex); } } else { ModuleWarning MW = new ModuleWarning(); MW.Show(); } }
private void userMaintenanceToolStripMenuItem_Click(object sender, EventArgs e) { if (this.MdiChildren.Length < 1) { try { User_Maintenance UM = new User_Maintenance(); UM.MdiParent = this; UM.Show(); } catch (Exception ex) { MessageBox.Show("Error:" + ex); } } else { ModuleWarning MW = new ModuleWarning(); MW.Show(); } }
private void logHistoryToolStripMenuItem_Click(object sender, EventArgs e) { if (this.MdiChildren.Length < 1) { try { Log_History LH = new Log_History(); LH.MdiParent = this; LH.Show(); } catch (Exception ex) { MessageBox.Show("Error:" + ex); } } else { ModuleWarning MW = new ModuleWarning(); MW.Show(); } }
private void stockOutToolStripMenuItem_Click(object sender, EventArgs e) { if (this.MdiChildren.Length < 1) { try { Stock_Out SO = new Stock_Out(); SO.MdiParent = this; SO.Show(); } catch (Exception ex) { MessageBox.Show("Error:" + ex); } } else { ModuleWarning MW = new ModuleWarning(); MW.Show(); } }
private void productsInCriticalLevelToolStripMenuItem_Click(object sender, EventArgs e) { if (this.MdiChildren.Length < 1) { try { Critical_Level_of_Products CLP = new Critical_Level_of_Products(); CLP.MdiParent = this; CLP.Show(); } catch (Exception ex) { MessageBox.Show("Error:" + ex); } } else { ModuleWarning MW = new ModuleWarning(); MW.Show(); } }
private void casheringToolStripMenuItem_Click_1(object sender, EventArgs e) { if (this.MdiChildren.Length < 1) { try { Cashiering Csh = new Cashiering(); Csh.MdiParent = this; Csh.Show(); } catch (Exception ex) { MessageBox.Show("Error:" + ex); } } else { ModuleWarning MW = new ModuleWarning(); MW.Show(); } }
private void backOrderToolStripMenuItem_Click(object sender, EventArgs e) { if (this.MdiChildren.Length < 1) { try { ReceiveBackOrder RBO = new ReceiveBackOrder(); RBO.MdiParent = this; RBO.Show(); } catch (Exception ex) { MessageBox.Show("Error:" + ex); } } else { ModuleWarning MW = new ModuleWarning(); MW.Show(); } }
private void purchaseOrderToolStripMenuItem_Click(object sender, EventArgs e) { if (this.MdiChildren.Length < 1) { try { PurchaseOrder PO = new PurchaseOrder(); PO.MdiParent = this; PO.Show(); } catch (Exception ex) { MessageBox.Show("Error:" + ex); } } else { ModuleWarning MW = new ModuleWarning(); MW.Show(); } }