private void TileCaseHistory_MouseUp(object sender, MouseButtonEventArgs e) { if (this.ListViewAccessionOrders.SelectedItem != null) { YellowstonePathology.UI.Common.CaseHistoryDialog caseHistoryDialog = new Common.CaseHistoryDialog(this.m_LoginUI.AccessionOrder); caseHistoryDialog.ShowDialog(); } }
private void ButtonHistory_Click(object sender, RoutedEventArgs e) { if (string.IsNullOrEmpty(this.AccessionOrder.PatientId) || this.AccessionOrder.PatientId == "0") { MessageBox.Show("History is not available until the patient is linked.", "Patient is not linked", MessageBoxButton.OK, MessageBoxImage.Exclamation); return; } YellowstonePathology.UI.Common.CaseHistoryDialog caseHistoryDialog = new Common.CaseHistoryDialog(this.m_AccessionOrder); caseHistoryDialog.ShowDialog(); }
private void ButtonHistory_Click(object sender, RoutedEventArgs e) { YellowstonePathology.UI.Common.CaseHistoryDialog caseHistoryDialog = new Common.CaseHistoryDialog(this.m_AccessionOrder); caseHistoryDialog.ShowDialog(); }