Ejemplo n.º 1
0
 private void ListViewStandingOrders_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (this.ListViewStandingOrders.SelectedItem != null)
     {
         YellowstonePathology.Business.Client.Model.StandingOrderView view = (Business.Client.Model.StandingOrderView) this.ListViewStandingOrders.SelectedItem;
         this.SetCompoundRuleVisibility(view);
     }
 }
Ejemplo n.º 2
0
 private void ListBoxStandingOrders_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (this.ListViewStandingOrders.SelectedItem != null)
     {
         YellowstonePathology.Business.Client.Model.StandingOrderView view = (Business.Client.Model.StandingOrderView) this.ListViewStandingOrders.SelectedItem;
         MessageBox.Show(view.ReflexDescription);
     }
 }
Ejemplo n.º 3
0
 private void SetCompoundRuleVisibility(YellowstonePathology.Business.Client.Model.StandingOrderView view)
 {
     this.m_CompoundRuleVisibility = view.IsCompoundRule == true ? Visibility.Visible : Visibility.Collapsed;
     this.NotifyPropertyChanged("CompoundRuleVisibility");
     this.NotifyPropertyChanged("CompoundRuleHPV1618Visibility");
 }