Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/09/16 12:28:09 (9 years ago)
Author:
pfleck
Message:

#2597:

  • Reverted UpdateAutomatically property.
  • Made UpdateChart method async to avoid blocking the GUI thread.
  • Changed Content type of RegressionSolutionGradientView to IRegressionSolution.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.RegressionSolutionGradientView/HeuristicLab.Problems.DataAnalysis.Views/3.4/RegressionSolutionTargetResponseGradientView.cs

    r13831 r13837  
    7373          ShowYAxisLabel = true,
    7474        };
    75         gradientChart.VariableValueChanged += (o, e) => {
     75        gradientChart.VariableValueChanged += async (o, e) => {
    7676          foreach (var chart in gradientChartTableLayout.Controls.Cast<GradientChart>()) {
    7777            if (chart == (GradientChart)o) continue;
    78             chart.UpdateChart();
     78            await chart.UpdateChartAsync();
    7979          }
    8080        };
     
    9999    }
    100100
    101     private void variableListView_ItemChecked(object sender, ItemCheckedEventArgs e) {
     101    private async void variableListView_ItemChecked(object sender, ItemCheckedEventArgs e) {
    102102      if (charts == null) return;
    103103      var item = e.Item;
     
    111111      if (item.Checked) {
    112112        tl.Controls.Add(chart);
    113         chart.UpdateChart();
     113        await chart.UpdateChartAsync();
    114114      } else {
    115115        tl.Controls.Remove(chart);
Note: See TracChangeset for help on using the changeset viewer.