public PictureAndStatInfoExportForm(IApplicationContext otherSubSysInterface, ControllerMgr controllerMgr) { this.isSingleGroup = false; this.components = null; this.InitializeComponent(); this.m_AppContext = otherSubSysInterface; this.m_PrintexportEditor = new StatInfoExport(otherSubSysInterface, controllerMgr); this.Init(otherSubSysInterface, controllerMgr); IExportManager manager = ServiceHelper.Lookup<IExportManager>(this.m_AppContext); if (manager != null) { List<GroupExportParam> allCalculatedGroupParam = manager.GetAllCalculatedGroupParam(); this.InitSimulationData(allCalculatedGroupParam); } int num = this.lstContent.Items.Add("Prediction"); this.lstContent.Items.Add("Simulation"); this.lstContent.SelectedIndex = num; this.BandingSimulationDataGradViewEvent(); }
public PictureAndStatInfoExportForm(string groupname, IApplicationContext otherSubSysInterface, ControllerMgr predictionGroupsManager) { this.isSingleGroup = false; this.components = null; this.InitializeComponent(); this.m_PrintexportEditor = new StatInfoExport(otherSubSysInterface, predictionGroupsManager); this.Init(groupname, otherSubSysInterface, predictionGroupsManager); int num = this.lstContent.Items.Add("Prediction"); this.lstContent.SelectedIndex = num; }