public void Show(MonitorPageLoadEnum monitorPage) { switch (monitorPage) { case MonitorPageLoadEnum.CytologyScreeningMonitor: CytologyScreeningMonitorPage cytologyScreeningMonitorPage = new CytologyScreeningMonitorPage(); cytologyScreeningMonitorPage.Refresh(); this.m_MonitorPageWindow.PageNavigator.Navigate(cytologyScreeningMonitorPage); break; case MonitorPageLoadEnum.ReportDistributionMonitor: ReportDistributionMonitorPage reportDistributionMonitorPage = new ReportDistributionMonitorPage(); reportDistributionMonitorPage.Refresh(); this.m_MonitorPageWindow.PageNavigator.Navigate(reportDistributionMonitorPage); break; case MonitorPageLoadEnum.PendingTestMonitor: PendingTestMonitorPage pendingTestMonitorPage = new PendingTestMonitorPage(); pendingTestMonitorPage.Refresh(); this.m_MonitorPageWindow.PageNavigator.Navigate(pendingTestMonitorPage); break; case MonitorPageLoadEnum.MissingInformationMonitor: MissingInformationMonitorPage missingInformationMonitorPage = new MissingInformationMonitorPage(); missingInformationMonitorPage.Refresh(); this.m_MonitorPageWindow.PageNavigator.Navigate(missingInformationMonitorPage); break; } this.m_MonitorPageWindow.Show(); }
public void LoadAllPages() { CytologyScreeningMonitorPage cytologyScreeningMonitorPage = new CytologyScreeningMonitorPage(); this.m_PageQueue.Enqueue(cytologyScreeningMonitorPage); ReportDistributionMonitorPage reportDistributionMonitorPage = new ReportDistributionMonitorPage(); this.m_PageQueue.Enqueue(reportDistributionMonitorPage); PendingTestMonitorPage pendingTestMonitorPage = new PendingTestMonitorPage(); this.m_PageQueue.Enqueue(pendingTestMonitorPage); MissingInformationMonitorPage missingInformationPage = new MissingInformationMonitorPage(); this.m_PageQueue.Enqueue(missingInformationPage); }