Пример #1
0
 public CDFCompareForm(ControllerMgr controllerMgr, IApplicationContext subSysInterface, List<NetWorkType> predictionTypeList, Dictionary<NetWorkType, List<StudyTemplate>> studyTemplateConfigDic)
 {
     this.InitializeComponent();
     this.cboNetType.SelectedIndexChanged += new EventHandler(this.cboNetTrpe_SelectedIndexChanged);
     this.m_ControllerMgr = controllerMgr;
     this.m_SubSysInterface = subSysInterface;
     this.m_PredictionTypeList = predictionTypeList;
     this.m_StudyTemplateConfigDic = studyTemplateConfigDic;
     this.m_EventViewService = ServiceHelper.Lookup<IEventViewService>(subSysInterface);
     this.Init();
     this.cboNetType.SelectedIndex = 0;
     this.m_PredictionStatisticsManager = new PredictionStatisticsManager(this.m_SubSysInterface);
     this.DisplayGraphCDFForAllGroup();
     this.cboStudy.SelectedIndexChanged += new EventHandler(this.cboStudy_SelectedIndexChanged);
     this.dgvGroup.CellContentClick += new DataGridViewCellEventHandler(this.dgvGroup_CellContentClick);
     this.cboStudy.SelectedIndex = 0;
 }
Пример #2
0
 public PredictionReportForm(ControllerMgr pgm, IApplicationContext appContext, TreeNode rootNode)
 {
     this.m_AppContext = appContext;
     this.m_IGeoProvider = ServiceHelper.Lookup<IGeoProvider>(this.m_AppContext);
     this.m_IProjectManager = ServiceHelper.Lookup<IProjectManager>(this.m_AppContext);
     this.m_IAnalyDispEvent = ServiceHelper.Lookup<IAnalyDispEvent>(this.m_AppContext);
     this.m_EventViewService = ServiceHelper.Lookup<IEventViewService>(this.m_AppContext);
     this.m_ControllerMgr = pgm;
     this.psm = new PredictionStatisticsManager(this.m_AppContext);
     this.m_rootNode = rootNode;
     this.InitializeComponent();
     this.GetClutter();
     this.ExportDataDisplay();
     this.dgvExpoertData.AllowUserToAddRows = false;
     this.dgvExpoertData.AllowUserToDeleteRows = false;
     this.dgvExpoertData.ServiceCustom.ServiceCustomDic[DgvServiceEnum.RecordProperties] = false;
     this.dgvExpoertData.ServiceCustom.ServiceCustomDic[DgvServiceEnum.Copy] = false;
     this.dgvExpoertData.ServiceCustom.ServiceCustomDic[DgvServiceEnum.Paste] = false;
 }