public AmendmentPageController(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder) { this.m_AmendmentUI = new AmendmentUI(accessionOrder, panelSetOrder); InitializeComponent(); this.DataContext = this; Closing += new System.ComponentModel.CancelEventHandler(AmendmentPageController_Closing); this.Title = "Amendments for " + panelSetOrder.ReportNo + " " + accessionOrder.PatientName; AmendmentListPage amendmentListPage = new AmendmentListPage(this.m_AmendmentUI); this.NavigationFrame.NavigationService.Navigate(amendmentListPage); }