private void ButtonPapAccession_Click(object sender, RoutedEventArgs e) { Common.HistroicalAccessionDialog dlg = new YellowstonePathology.UI.Common.HistroicalAccessionDialog(this.PanelSetOrderSurgical.ReportNo); if (dlg.ShowDialog().Value == true) { this.PanelSetOrderSurgical.PapCorrelationAccessionNo = dlg.CorrelatedAccessionNo; } }