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 Master User
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void UserToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (frmUser == null || frmUser.IsDisposed)
     {
         frmUser           = new FormMasterUser();
         frmUser.MdiParent = this;
     }
     frmUser.Show();
 }