예제 #1
0
        private void ExecuteCustom(DataRow dr)
        {
            switch (dr["CustomClass"].ToString())
            {
            //case "sChonNgayHethong":
            //    sChonNgayHethong f2 = new sChonNgayHethong();
            //    f2.MdiParent = this;
            //    f2.Show();
            //    break;
            //case "fNhapChisocongter" :
            //    fNhapChisocongter f = new fNhapChisocongter();
            //    f.MdiParent = this;
            //    f.Show();
            //    break ;
            //case "fPhieuGiaohang":
            //    fPhieuGiaohang f1 = new fPhieuGiaohang();
            //    f1.MdiParent = this;
            //    f1.Show();
            //    break;
            //case "fCRManage":
            //    fCRManage fcr = new fCRManage();
            //    fcr.MdiParent = this;
            //    fcr.Show();
            //    break;
            //case "fCRQuestion":
            //    fCRQuestion fcr1 = new fCRQuestion();
            //    fcr1.MdiParent = this;
            //    fcr1.Show();
            //    break;
            //case "fImExcel":
            //    CusNissan.fImExcel fIe = new CusNissan.fImExcel();
            //    fIe.MdiParent = this;
            //    fIe.Show();
            //    break;
            case "StartUp":
                StartUp fstartup = new StartUp();
                fstartup.MdiParent = this;
                fstartup.Show();
                break;

            case "fTaskList":
                fTaskList fStart = new fTaskList();
                fStart.MdiParent = this;
                fStart.Show();
                break;

            case "TMBCTC":
                TMBCTCFilter fTMBCTC = new TMBCTCFilter();
                fTMBCTC.MdiParent = this;
                fTMBCTC.Show();
                break;

            case "BangkeBanra":
                ExportVatFilter fExportVatFilter = new ExportVatFilter();
                fExportVatFilter.MdiParent = this;
                fExportVatFilter.Show();
                break;

            case "fDoiGia":
                fDoiGia fdoigia = new fDoiGia();
                fdoigia.MdiParent = this;
                fdoigia.Show();
                break;

            case "fImExcelto32":
                fImExcelto32 fImexcelto32 = new fImExcelto32();
                fImexcelto32.MdiParent = this;
                fImexcelto32.Show();
                break;

            case "fImExcelGTCC":
                fImExcelGTCC fImExcelGTCC = new fImExcelGTCC();
                fImExcelGTCC.MdiParent = this;
                fImExcelGTCC.Show();
                break;

            case "fCopyPackage":
                fCopyPackage fcopyPackage;    // =new fCopyPackage();
                fcopyPackage = new fCopyPackage();
                fcopyPackage.ShowDialog();
                break;

            case "fTaoPTT":
                fTaoPTT f_TaoPTT;    //= new fTaoPTT();
                f_TaoPTT = new fTaoPTT();
                f_TaoPTT.ShowDialog();
                break;

            case "fPQchucnang":
                fPQchucnang f_PQchucnang = new fPQchucnang();
                f_PQchucnang.MdiParent = this;
                f_PQchucnang.Show();
                break;

            case "fCoKHSX":
                fCoKHSX f_CoKHSX = new fCoKHSX();
                f_CoKHSX.MdiParent = this;
                f_CoKHSX.Show();
                break;

            case "CoPhanBoCtrinh":
                CoPhanBoCtrinh fCoPhanBoCtrinh = new CoPhanBoCtrinh();
                fCoPhanBoCtrinh.MdiParent = this;
                fCoPhanBoCtrinh.Show();
                break;

            case "fImExcelHongDongNaiOut":
                CusAccounting.fImExcelHongDongNaiOut fImExcelHongDongNaiOut = new CusAccounting.fImExcelHongDongNaiOut();
                fImExcelHongDongNaiOut.MdiParent = this;
                fImExcelHongDongNaiOut.Show();
                break;

            case "fImExcelHongDongNaiIn":
                CusAccounting.fImExcelHongDongNaiIn fImExcelHongDongNaiIn = new CusAccounting.fImExcelHongDongNaiIn();
                fImExcelHongDongNaiIn.MdiParent = this;
                fImExcelHongDongNaiIn.Show();
                break;

            case "fPOS":
                fPOS f_fPOS = new fPOS();
                f_fPOS.MdiParent = this;
                f_fPOS.Show();
                break;

            case "fPOSKM":
                fPOSKM f_fPOSKM = new fPOSKM();
                f_fPOSKM.MdiParent = this;
                f_fPOSKM.Show();
                break;

            case "fMon4Area":
                fMon4Area f_Mon4Area = new fMon4Area();
                f_Mon4Area.MdiParent = this;
                f_Mon4Area.Show();
                break;

            case "iMaintain":
                Maintain();
                break;

            case "fBanhang":
                fBanhang fbanhang = new fBanhang();
                fbanhang.MdiParent = this;
                fbanhang.Show();
                break;

            case "fCatSolieu":
                fCatSolieu fcatSolieu = new fCatSolieu();
                fcatSolieu.MdiParent = this;
                fcatSolieu.Show();
                break;

            case "fKHManage":
                fKHManage fKHmanage = new fKHManage();
                fKHmanage.MdiParent = this;
                fKHmanage.Show();
                break;
            }
        }
예제 #2
0
파일: Main.cs 프로젝트: trancongvy/SGDPOS
        private void ExecuteCustom(DataRow dr)
        {
            switch (dr["CustomClass"].ToString())
            {
            //case "sChonNgayHethong":
            //    sChonNgayHethong f2 = new sChonNgayHethong();
            //    f2.MdiParent = this;
            //    f2.Show();
            //    break;
            //case "fNhapChisocongter" :
            //    fNhapChisocongter f = new fNhapChisocongter();
            //    f.MdiParent = this;
            //    f.Show();
            //    break ;
            //case "fPhieuGiaohang":
            //    fPhieuGiaohang f1 = new fPhieuGiaohang();
            //    f1.MdiParent = this;
            //    f1.Show();
            //    break;
            //case"fCRManage":
            //    fCRManage fcr = new fCRManage();
            //    fcr.MdiParent = this;
            //    fcr.Show();
            //    break;
            //case "fCRQuestion":
            //    fCRQuestion fcr1 = new fCRQuestion();
            //    fcr1.MdiParent = this;
            //    fcr1.Show();
            //    break;
            //case "fImExcel":
            //    CusNissan.fImExcel fIe = new CusNissan.fImExcel();
            //    fIe.MdiParent = this;
            //    fIe.Show();
            //    break;
            case "StartUp":
                StartUp fstartup = new StartUp();
                fstartup.MdiParent = this;
                fstartup.Show();
                break;

            case "fTaskList":
                fTaskList fStart = new fTaskList();
                fStart.MdiParent = this;
                fStart.Show();
                break;

            case "TMBCTC":
                TMBCTCFilter fTMBCTC = new TMBCTCFilter();
                fTMBCTC.MdiParent = this;
                fTMBCTC.Show();
                break;

            case "BangkeBanra":
                ExportVatFilter fExportVatFilter = new ExportVatFilter();
                fExportVatFilter.MdiParent = this;
                fExportVatFilter.Show();
                break;

            case "fDoiGia":
                fDoiGia fdoigia = new fDoiGia();
                fdoigia.MdiParent = this;
                fdoigia.Show();
                break;

            case "fImExcelto32":
                fImExcelto32 fImexcelto32 = new fImExcelto32();
                fImexcelto32.MdiParent = this;
                fImexcelto32.Show();
                break;

            case "fImExcelGTCC":
                fImExcelGTCC fImExcelGTCC = new fImExcelGTCC();
                fImExcelGTCC.MdiParent = this;
                fImExcelGTCC.Show();
                break;

            case "fCopyPackage":
                fCopyPackage fcopyPackage;    // =new fCopyPackage();
                fcopyPackage = new fCopyPackage();
                fcopyPackage.ShowDialog();
                break;

            case "fTaoPTT":
                fTaoPTT f_TaoPTT;    //= new fTaoPTT();
                f_TaoPTT = new fTaoPTT();
                f_TaoPTT.ShowDialog();
                break;

            case "fPQchucnang":
                fPQchucnang f_PQchucnang = new fPQchucnang();
                f_PQchucnang.MdiParent = this;
                f_PQchucnang.Show();
                break;

            case "fCoKHSX":
                fCoKHSX f_CoKHSX = new fCoKHSX();
                f_CoKHSX.MdiParent = this;
                f_CoKHSX.Show();
                break;

            case "CoPhanBoCtrinh":
                CoPhanBoCtrinh fCoPhanBoCtrinh = new CoPhanBoCtrinh();
                fCoPhanBoCtrinh.MdiParent = this;
                fCoPhanBoCtrinh.Show();
                break;

            case "fPOS":
                fPOS fpos = new fPOS();
                fpos.MdiParent = this;
                fpos.Show();
                break;

            case "fBEP":
                fBep fbep = new fBep();
                fbep.MdiParent = this;
                fbep.Show();
                break;

            case "fFastFood":
                fFastFood ffastFood = new fFastFood();
                //ffastFood.MdiParent = this;

                ffastFood.ShowDialog();
                break;
            }
        }