コード例 #1
0
        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");
            }
        }
コード例 #2
0
 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");
     }
 }