Beispiel #1
0
        private void InitializingForms()
        {
            // File Group
            frmLogin           = new FormLogin();
            frmLogin.MdiParent = this;

            frmSettings           = new FormSettings();
            frmSettings.MdiParent = this;

            // Master Group
            frmUser           = new FormMasterUser();
            frmUser.MdiParent = this;

            frmMasterCategory           = new FormMasterCategory();
            frmMasterCategory.MdiParent = this;

            frmMasterPrice           = new FormMasterPrice();
            frmMasterPrice.MdiParent = this;

            frmMasterInventory           = new FormMasterInventori();
            frmMasterInventory.MdiParent = this;

            //Transactions Group
            frmSales           = new FormSales();
            frmSales.MdiParent = this;

            frmPurchasing           = new FormPurchasing();
            frmPurchasing.MdiParent = this;

            frmServices           = new FormServices();
            frmServices.MdiParent = this;
        }
Beispiel #2
0
 /// <summary>
 /// Menu Transactions Services
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ServicesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (frmServices == null || frmServices.IsDisposed)
     {
         frmServices           = new FormServices();
         frmServices.MdiParent = this;
     }
     frmServices.Show();
 }