예제 #1
0
        private void mnuMdCashVoucher()
        {
            if (!frmCashVoucher.IsDisposed)
            {
                frmCashVoucher.Dispose();
            }

            frmCashVoucher = new ACMS.ACMSManager.MasterData.frmCashVoucher();
            panel1.Controls.Clear();
            frmCashVoucher.TopLevel = false;
            frmCashVoucher.Dock = DockStyle.Fill;
            frmCashVoucher.Parent = panel1;
            frmCashVoucher.Show();
            panel1.Refresh();
        }
예제 #2
0
        private void mdInit()
        {
            frmBank = new ACMS.ACMSManager.MasterData.frmBank();
            frmComp = new ACMS.ACMSManager.MasterData.frmCompany();
            frmBranch = new ACMS.ACMSManager.MasterData.frmBranch();
            frmRoadShow = new ACMS.ACMSManager.MasterData.frmRoadShow();
            frmCommission = new ACMS.ACMSManager.MasterData.frmCommission();
            frmPackage = new ACMS.ACMSManager.MasterData.frmPackage();
            frmPromotion = new ACMS.ACMSManager.MasterData.frmPromotion();
            frmEmployee = new ACMS.ACMSManager.MasterData.frmEmployee(this.employee.Id.ToString());
            frmDepartment = new ACMS.ACMSManager.MasterData.frmDepartment();
            frmService = new ACMS.ACMSManager.MasterData.frmService();
            frmCashVoucher = new ACMS.ACMSManager.MasterData.frmCashVoucher();
            frmLeave = new ACMS.ACMSManager.MasterData.frmLeave();
            frmUserRights = new ACMS.ACMSManager.MasterData.frmUserRights();
            frmClass = new ACMS.ACMSManager.MasterData.frmClass();
            frmPromotionItem = new ACMS.ACMSManager.MasterData.frmPromotionItem();
            frmReward = new ACMS.ACMSManager.MasterData.frmReward();
            frmInventory = new ACMS.ACMSManager.MasterData.frmInventory();
            frmTerminalUser = new ACMS.ACMSManager.MasterData.frmTerminalUser();
            frmSalesTarget = new ACMS.ACMSManager.MasterData.frmSalesTarget();
            frmReceipt = new ACMS.ACMSManager.MasterData.frmReceipt();

            panel1.Controls.Clear();
            frmComp.TopLevel = false;
            frmComp.Dock = DockStyle.Fill;
            frmComp.Parent = panel1;
            frmComp.Show();
            panel1.Refresh();
        }