Changeset 15864 for branches/2906_Transformations/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/RegressionSolutionView.cs
- Timestamp:
- 03/26/18 17:09:19 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2906_Transformations/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/RegressionSolutionView.cs
r15856 r15864 22 22 using System.Linq; 23 23 using System.Windows.Forms; 24 using HeuristicLab.Common.Resources; 24 25 using HeuristicLab.Core; 25 26 using HeuristicLab.MainForm; … … 31 32 public RegressionSolutionView() { 32 33 InitializeComponent(); 34 TransformButton.Image = VSImageLibrary.Event; 33 35 flowLayoutPanel.Controls.Add(TransformButton); 34 36 } … … 41 43 protected override void SetEnabledStateOfControls() { 42 44 base.SetEnabledStateOfControls(); 45 TransformButton.Enabled = Content != null; 43 46 TransformButton.Visible = Content != null && Content.ProblemData.Transformations.Any(); 44 47 }
Note: See TracChangeset
for help on using the changeset viewer.