private void ButtonCreateBatch_Click(object sender, RoutedEventArgs e)
        {
            MaterialTrackingBatchDialog materialTrackingBatchDialog = new MaterialTrackingBatchDialog();
            bool?result = materialTrackingBatchDialog.ShowDialog();

            if (result.HasValue && result.Value == true)
            {
                this.m_MaterialTrackingBatchCollection = YellowstonePathology.Business.Gateway.SlideAccessionGateway.GetMaterialTrackingBatchCollection();
                NotifyPropertyChanged("MaterialTrackingBatchCollection");
            }
        }
 private void ButtonCreateBatch_Click(object sender, RoutedEventArgs e)
 {
     MaterialTrackingBatchDialog materialTrackingBatchDialog = new MaterialTrackingBatchDialog();
     bool? result = materialTrackingBatchDialog.ShowDialog();
     if (result.HasValue && result.Value == true)
     {
         this.m_MaterialTrackingBatchCollection = YellowstonePathology.Business.Gateway.SlideAccessionGateway.GetMaterialTrackingBatchCollection();
         NotifyPropertyChanged("MaterialTrackingBatchCollection");
     }
 }