Exemplo n.º 1
0
        public frmNav(cons.WindowsList windowsList)
        {
            InitializeComponent();
            //
            this.windowsList = windowsList;
            //
            Helper.GlobalData.modeulelist = moduleList1;
            //if (1 == 1)
            //{
            //    frmMyDestop frm = new frmMyDestop(windowsList, moduleList1);
            //    moduleList1.ShowForm(frm, ResourcesHelper.GetImage("导航_个人中心_1"), ResourcesHelper.GetImage("导航_个人中心_2"));
            //}

            if (1 == 1)
            {
                frmNavBaseInfo frm = new frmNavBaseInfo(windowsList);
                moduleList1.ShowForm(frm, ResourcesHelper.GetImage("导航_信息档案_1"), ResourcesHelper.GetImage("导航_信息档案_2"));
            }

            if (1 == 1)
            {
                frmNavConCenter frm = new frmNavConCenter(windowsList);
                moduleList1.ShowForm(frm, ResourcesHelper.GetImage("控制中心_1"), ResourcesHelper.GetImage("控制中心_2"));
            }
            if (1 == 1)
            {
                frmNavSaleProcurement frm = new frmNavSaleProcurement(windowsList);
                moduleList1.ShowForm(frm, ResourcesHelper.GetImage("导航_销采管理_1"), ResourcesHelper.GetImage("导航_销采管理_2"));
            }

            if (1 == 1)
            {
                frmNavStock frm = new frmNavStock(windowsList);
                moduleList1.ShowForm(frm, ResourcesHelper.GetImage("导航_库存管理_1"), ResourcesHelper.GetImage("导航_库存管理_2"));
            }

            //if (1 == 1)
            //{
            //    frmNavReport frm = new frmNavReport(windowsList);
            //    moduleList1.ShowForm(frm, ResourcesHelper.GetImage("导航_报表分析_1"), ResourcesHelper.GetImage("导航_报表分析_2"));
            //}

            if (1 == 1)
            {
                frmNavSystem frm = new frmNavSystem(windowsList);
                moduleList1.ShowForm(frm, ResourcesHelper.GetImage("导航_系统设置_1"), ResourcesHelper.GetImage("导航_系统设置_2"));
            }

            //if (1 == 1)
            //{
            //    frmNavB2B frm = new frmNavB2B(windowsList);
            //    moduleList1.ShowForm(frm, ResourcesHelper.GetImage("导航_线上管理_1"), ResourcesHelper.GetImage("导航_线上管理_2"));
            //}

            //if (1 == 1)
            //{
            //    frmNavPrice frm = new frmNavPrice(windowsList);
            //    moduleList1.ShowForm(frm, ResourcesHelper.GetImage("导航_价格管理_1"), ResourcesHelper.GetImage("导航_价格管理_2"));
            //}



            //if (1 == 1)
            //{
            //    frmNavFinance frm = new frmNavFinance(windowsList);
            //    moduleList1.ShowForm(frm, ResourcesHelper.GetImage("导航_财务管理_1"), ResourcesHelper.GetImage("导航_财务管理_2"));
            //}



            moduleList1.ShowForm(1);
        }