Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3461


Ignore:
Timestamp:
04/21/10 15:15:10 (15 years ago)
Author:
mkommend
Message:

corrected SymbolicExpressionModelViews (ticket #938)

Location:
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/Symbolic
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/Symbolic/SimplifiedSymbolicExpressionModelView.cs

    r3442 r3461  
    4444    public new SymbolicRegressionSolution Content {
    4545      get { return (SymbolicRegressionSolution)base.Content; }
    46       set {
    47         base.Content = value;
    48       }
     46      set {        base.Content = value;       }
    4947    }
    5048
    51     private ViewHost viewHost;
    5249
    5350    public SimplifiedSymbolicExpressionModelView()
    5451      : base() {
    5552      InitializeComponent();
    56 
    57       // manual initialization of viewhost for the simplified model
    58       viewHost = new ViewHost();
    59       viewHost.Dock = DockStyle.Fill;
    60       simplifiedModelGroupBox.Controls.Add(viewHost);
    6153    }
    6254
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/Symbolic/SimplifiedSymbolicExpressionModelView.designer.cs

    r3442 r3461  
    4646    private void InitializeComponent() {
    4747      this.simplifiedModelGroupBox = new System.Windows.Forms.GroupBox();
     48      this.viewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost();
     49      this.simplifiedModelGroupBox.SuspendLayout();
    4850      this.SuspendLayout();
    4951      //
    5052      // simplifiedModelGroupBox
    5153      //
     54      this.simplifiedModelGroupBox.Controls.Add(this.viewHost);
    5255      this.simplifiedModelGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
    5356      this.simplifiedModelGroupBox.Location = new System.Drawing.Point(0, 0);
     
    5760      this.simplifiedModelGroupBox.TabStop = false;
    5861      this.simplifiedModelGroupBox.Text = "Simplified Symbolic Expression Model";
     62      //
     63      // viewHost
     64      //
     65      this.viewHost.Caption = null;
     66      this.viewHost.Content = null;
     67      this.viewHost.Dock = System.Windows.Forms.DockStyle.Fill;
     68      this.viewHost.Location = new System.Drawing.Point(3, 16);
     69      this.viewHost.Name = "viewHost";
     70      this.viewHost.ReadOnly = false;
     71      this.viewHost.Size = new System.Drawing.Size(346, 394);
     72      this.viewHost.TabIndex = 0;
     73      this.viewHost.ViewType = null;
    5974      //
    6075      // SimplifiedSymbolicExpressionModelView
     
    6681      this.Name = "SimplifiedSymbolicExpressionModelView";
    6782      this.Size = new System.Drawing.Size(352, 413);
     83      this.simplifiedModelGroupBox.ResumeLayout(false);
    6884      this.ResumeLayout(false);
    6985
     
    7389
    7490    private System.Windows.Forms.GroupBox simplifiedModelGroupBox;
     91    private HeuristicLab.MainForm.WindowsForms.ViewHost viewHost;
    7592
    7693  }
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/Symbolic/SymbolicExpressionModelView.cs

    r3442 r3461  
    4444    public new SymbolicRegressionSolution Content {
    4545      get { return (SymbolicRegressionSolution)base.Content; }
    46       set {
    47         base.Content = value;
    48       }
     46      set { base.Content = value; }
    4947    }
    50 
    51     private ViewHost viewHost;
    5248
    5349    public SymbolicExpressionModelView()
    5450      : base() {
    5551      InitializeComponent();
    56 
    57       // manual initialization of viewhost for the simplified model
    58       viewHost = new ViewHost();
    59       viewHost.Dock = DockStyle.Fill;
    60       modelGroupBox.Controls.Add(viewHost);
    6152    }
    6253
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/Symbolic/SymbolicExpressionModelView.designer.cs

    r3442 r3461  
    4646    private void InitializeComponent() {
    4747      this.modelGroupBox = new System.Windows.Forms.GroupBox();
     48      this.viewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost();
     49      this.modelGroupBox.SuspendLayout();
    4850      this.SuspendLayout();
    4951      //
    5052      // modelGroupBox
    5153      //
     54      this.modelGroupBox.Controls.Add(this.viewHost);
    5255      this.modelGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
    5356      this.modelGroupBox.Location = new System.Drawing.Point(0, 0);
     
    5760      this.modelGroupBox.TabStop = false;
    5861      this.modelGroupBox.Text = "Symbolic Expression Model";
     62      //
     63      // viewHost
     64      //
     65      this.viewHost.Caption = null;
     66      this.viewHost.Content = null;
     67      this.viewHost.Dock = System.Windows.Forms.DockStyle.Fill;
     68      this.viewHost.Location = new System.Drawing.Point(3, 16);
     69      this.viewHost.Name = "viewHost";
     70      this.viewHost.ReadOnly = false;
     71      this.viewHost.Size = new System.Drawing.Size(346, 394);
     72      this.viewHost.TabIndex = 0;
     73      this.viewHost.ViewType = null;
    5974      //
    6075      // SymbolicExpressionModelView
     
    6681      this.Name = "SymbolicExpressionModelView";
    6782      this.Size = new System.Drawing.Size(352, 413);
     83      this.modelGroupBox.ResumeLayout(false);
    6884      this.ResumeLayout(false);
    6985
     
    7389
    7490    private System.Windows.Forms.GroupBox modelGroupBox;
     91    private HeuristicLab.MainForm.WindowsForms.ViewHost viewHost;
    7592
    7693  }
Note: See TracChangeset for help on using the changeset viewer.