Esempio n. 1
0
 /// <summary>
 ///构造函数
 /// </summary>
 public WizardController(FormBase fb)
 {
     formbase = fb;
     WizardForms.Add(fb.panel0);
     WizardForms.Add(fb.panel1); //frmStep1继承自FormBase
     WizardForms.Add(fb.panel2);
     WizardForms.Add(fb.panel3);
     fb.controller = this;
     fb.DisableButton();
 }
Esempio n. 2
0
        public void OnWizzard()
        {
            //RefreshData();
            //applicationObject.Evaluate("GetStockInfo(1)");
            //Object objectReference = "RTDServer.UMSRTDServer.1";
            //applicationObject.COMAddIns.Item(ref objectReference).Object;
            Object ob = applicationObject.ExecuteExcel4Macro("SelfServiceReport()");

            ReadQuota();    //从服务器读取界面报表指标
            ReadReportType();
            FormBase FormTree = new FormBase();

            FormTree.NodeList = rptfuncs;
            WizardController controller = new WizardController(FormTree);

            controller.formbase.InitQuotaTree(11, 0, null);   //将指标显示在Tree控件中
            controller.BeginWizard();
        }