public void ListViewPhysicianClient_MouseLeftButtonUp(object sender, RoutedEventArgs args) { if (this.listViewPhysicianClient.SelectedItem != null) { YellowstonePathology.Business.Client.Model.PhysicianClient physicianClient = (YellowstonePathology.Business.Client.Model.PhysicianClient) this.listViewPhysicianClient.SelectedItem; this.textBoxSearchCriteria.Text = "PH " + physicianClient.PhysicianClientId; this.DoSearch(); } }
private void SetPhysician(YellowstonePathology.Business.Client.Model.PhysicianClient physicianClient) { YellowstonePathology.Business.Domain.Physician physician = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetPhysicianByPhysicianId(physicianClient.PhysicianId); if (physician != null) { this.m_ClientOrder.ProviderId = physician.Npi; this.m_ClientOrder.ProviderName = physician.FirstName + ' ' + physician.LastName; this.SetProviderStatusColor(); } }
private void ButtonNext_Click(object sender, RoutedEventArgs e) { if (this.listViewPhysicianClient.SelectedItem != null) { YellowstonePathology.Business.Client.Model.PhysicianClient physicianClient = (YellowstonePathology.Business.Client.Model.PhysicianClient) this.listViewPhysicianClient.SelectedItem; this.ProviderSelected(this, new YellowstonePathology.UI.CustomEventArgs.PhysicianClientReturnEventArgs(physicianClient)); } else { MessageBox.Show("Please select a provider before continuing."); } }
private void PhysicianClientSearchPage_Return(object sender, UI.Navigation.PageNavigationReturnEventArgs e) { switch (e.PageNavigationDirectionEnum) { case UI.Navigation.PageNavigationDirectionEnum.Back: this.DialogResult = false; break; case UI.Navigation.PageNavigationDirectionEnum.Next: this.m_PhysicianClient = (YellowstonePathology.Business.Client.Model.PhysicianClient)e.Data; if (this.m_PhysicianClient == null) { this.DialogResult = false; } else { this.DialogResult = true; } break; } this.Close(); }
private void PhysicianClientSearchPage_Return(object sender, UI.Navigation.PageNavigationReturnEventArgs e) { switch (e.PageNavigationDirectionEnum) { case UI.Navigation.PageNavigationDirectionEnum.Back: this.DialogResult = false; break; case UI.Navigation.PageNavigationDirectionEnum.Next: this.m_PhysicianClient = (YellowstonePathology.Business.Client.Model.PhysicianClient)e.Data; if (this.m_PhysicianClient == null) { this.DialogResult = false; } else { this.DialogResult = true; } break; } this.Close(); }