Changeset 15864 for branches/2906_Transformations/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views
- Timestamp:
- 03/26/18 17:09:19 (7 years ago)
- Location:
- branches/2906_Transformations/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2906_Transformations/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/RegressionSolutionView.Designer.cs
r15856 r15864 19 19 */ 20 20 #endregion 21 21 22 22 23 … … 46 47 /// </summary> 47 48 private void InitializeComponent() { 49 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RegressionSolutionView)); 48 50 this.TransformButton = new System.Windows.Forms.Button(); 49 51 ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit(); … … 72 74 // TransformButton 73 75 // 76 this.TransformButton.AutoSize = true; 77 this.TransformButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; 74 78 this.TransformButton.Location = new System.Drawing.Point(117, 3); 75 79 this.TransformButton.Name = "TransformButton"; 76 this.TransformButton.Size = new System.Drawing.Size( 75, 23);80 this.TransformButton.Size = new System.Drawing.Size(108, 23); 77 81 this.TransformButton.TabIndex = 1; 78 this.TransformButton.Text = "Reverse Transformations"; 82 this.TransformButton.Text = "Transform Back"; 83 this.TransformButton.TextAlign = System.Drawing.ContentAlignment.MiddleRight; 84 this.toolTip.SetToolTip(this.TransformButton, "TODO: Backtransform model based on the stored transformations."); 79 85 this.TransformButton.UseVisualStyleBackColor = true; 80 86 this.TransformButton.Click += new System.EventHandler(this.transformButton_Click); -
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 } -
branches/2906_Transformations/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/TransformedRegressionSolutionView.cs
r15862 r15864 25 25 namespace HeuristicLab.Problems.DataAnalysis.Views { 26 26 [View("Transformation Solution View")] 27 [Content(typeof(TransformedRegressionSolution), true)]27 [Content(typeof(TransformedRegressionSolution), false)] 28 28 public partial class TransformedRegressionSolutionView : RegressionSolutionView { 29 29
Note: See TracChangeset
for help on using the changeset viewer.