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");
            }
        }
 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");
         }
     }
 }