private void ButtonSearch_Click(object sender, RoutedEventArgs e) { NameSearchEventArgs args = new NameSearchEventArgs(this.m_PatientNameSearch); this.DoPatientNameSearch(this, args); ApplicationNavigator.ApplicationContentFrame.NavigationService.GoBack(); }
private void TextBoxPatientName_KeyUp(object sender, KeyEventArgs e) { if (e.Key == Key.Enter) { this.ButtonSearch.Focus(); NameSearchEventArgs args = new NameSearchEventArgs(this.m_PatientNameSearch); this.DoPatientNameSearch(this, args); ApplicationNavigator.ApplicationContentFrame.NavigationService.GoBack(); } }
public void DoPatientNameSearch(object sender, EventArgs e) { NameSearchEventArgs args = (NameSearchEventArgs)e; PatientNameSearch patientNameSearch = args.PatientNameSearch; if (string.IsNullOrEmpty(patientNameSearch.LastNameSearchString) == false) { if (string.IsNullOrEmpty(patientNameSearch.FirstNameSearchString) == false) { this.m_ReportBrowserUI.DoClientLastAndFirstNameSearch(patientNameSearch.LastNameSearchString, patientNameSearch.FirstNameSearchString); } else { this.m_ReportBrowserUI.DoClientLastNameSearch(patientNameSearch.LastNameSearchString); } this.SetListViewToTop(); } }
public void DoPatientNameSearch(object sender, EventArgs e) { NameSearchEventArgs args = (NameSearchEventArgs)e; PatientNameSearch patientNameSearch = args.PatientNameSearch; if (string.IsNullOrEmpty(patientNameSearch.LastNameSearchString) == false) { if (string.IsNullOrEmpty(patientNameSearch.FirstNameSearchString) == false) { this.DoLastAndFirstNameSearch(patientNameSearch.LastNameSearchString, patientNameSearch.FirstNameSearchString); } else { this.DoLastNameSearch(patientNameSearch.LastNameSearchString); } this.NotifyPropertyChanged(""); //BillingBrowserPage billingBrowserPage = new BillingBrowserPage(); //MainWindow mainWindow = (MainWindow)System.Windows.Application.Current.MainWindow; //mainWindow.MainFrame.NavigationService.Navigate(billingBrowserPage); //ApplicationNavigator.GoToPage(PageNavigationEnum.BillingBrowserPage); } }
private void TextBoxPatientName_KeyUp(object sender, KeyEventArgs e) { if (e.Key == Key.Enter) { this.ButtonSearch.Focus(); NameSearchEventArgs args = new NameSearchEventArgs(this.m_PatientNameSearch); this.DoPatientNameSearch(this, args); ApplicationNavigator.ApplicationContentFrame.NavigationService.GoBack(); } }
private void ButtonSearch_Click(object sender, RoutedEventArgs e) { NameSearchEventArgs args = new NameSearchEventArgs(this.m_PatientNameSearch); this.DoPatientNameSearch(this, args); ApplicationNavigator.ApplicationContentFrame.NavigationService.GoBack(); }