コード例 #1
0
 private void ExportTrimester_Click(object sender, RoutedEventArgs e)
 {
     if (((Control)sender).DataContext is int trimester)
     {
         TrimesterModelsProgressBar.Visibility = Visibility.Visible;
         TrimesterModelsProgressBar.Value      = 0;
         ExportUtils.ExportTrimesterModels(trimester, _updateTrimesterModelsDispatch);
         TrimesterModelsProgressBar.Visibility = Visibility.Collapsed;
     }
 }