예제 #1
0
        private void ButtonNewCode_Click(object sender, RoutedEventArgs e)
        {
            ICDCodeEditDialog dlg = new ICDCodeEditDialog(null);
            bool?dialogResult     = dlg.ShowDialog();

            if (dialogResult.HasValue && dialogResult.Value == true)
            {
                YellowstonePathology.Business.Billing.Model.ICDCodeCollection.Refresh();
                this.NotifyPropertyChanged("ICDCodeCollection");
            }
        }
예제 #2
0
 private void ListBoxICDCodes_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (this.ListBoxICDCodes.SelectedItem != null)
     {
         YellowstonePathology.Business.Billing.Model.ICDCode icdCode = (YellowstonePathology.Business.Billing.Model.ICDCode) this.ListBoxICDCodes.SelectedItem;
         ICDCodeEditDialog dlg = new ICDCodeEditDialog(icdCode);
         bool?dialogResult     = dlg.ShowDialog();
         if (dialogResult.HasValue && dialogResult.Value == true)
         {
             YellowstonePathology.Business.Billing.Model.ICDCodeCollection.Refresh();
             this.NotifyPropertyChanged("ICDCodeCollection");
         }
     }
 }