Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/25/12 17:26:29 (12 years ago)
Author:
bburlacu
Message:

#1763: Improved ValueChangeDialog and overall behavior. Implemented pruning operation on background thread. TODO: Test, improve. This is a work-in-progress.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.TreeSimplifierView/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/InteractiveSymbolicDataAnalysisSolutionSimplifierView.Designer.cs

    r7388 r7411  
    5353      this.treeChart = new HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views.SymbolicExpressionTreeChart();
    5454      this.grpViewHost = new System.Windows.Forms.GroupBox();
     55      this.btnPrune = new System.Windows.Forms.Button();
     56      this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
    5557      ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit();
    5658      this.splitContainer.Panel1.SuspendLayout();
     
    6466      // viewHost
    6567      //
    66       this.viewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    67             | System.Windows.Forms.AnchorStyles.Left)
     68      this.viewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
     69            | System.Windows.Forms.AnchorStyles.Left) 
    6870            | System.Windows.Forms.AnchorStyles.Right)));
    6971      this.viewHost.Caption = "View";
     
    9799      // grpSimplify
    98100      //
     101      this.grpSimplify.AutoSize = true;
    99102      this.grpSimplify.Controls.Add(this.flowLayoutPanel);
    100103      this.grpSimplify.Controls.Add(this.treeChart);
     
    109112      // flowLayoutPanel
    110113      //
    111       this.flowLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
     114      this.flowLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 
    112115            | System.Windows.Forms.AnchorStyles.Right)));
    113116      this.flowLayoutPanel.Controls.Add(this.btnSimplify);
     117      this.flowLayoutPanel.Controls.Add(this.btnPrune);
    114118      this.flowLayoutPanel.Controls.Add(this.btnOptimizeConstants);
    115119      this.flowLayoutPanel.Location = new System.Drawing.Point(6, 313);
     
    133137      this.btnOptimizeConstants.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
    134138      this.btnOptimizeConstants.Enabled = false;
    135       this.btnOptimizeConstants.Location = new System.Drawing.Point(104, 3);
     139      this.btnOptimizeConstants.Location = new System.Drawing.Point(205, 3);
    136140      this.btnOptimizeConstants.Name = "btnOptimizeConstants";
    137141      this.btnOptimizeConstants.Size = new System.Drawing.Size(97, 23);
     
    143147      // treeChart
    144148      //
    145       this.treeChart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    146             | System.Windows.Forms.AnchorStyles.Left)
     149      this.treeChart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
     150            | System.Windows.Forms.AnchorStyles.Left) 
    147151            | System.Windows.Forms.AnchorStyles.Right)));
    148152      this.treeChart.BackgroundColor = System.Drawing.Color.White;
     
    171175      this.grpViewHost.Text = "Details";
    172176      //
     177      // btnPrune
     178      //
     179      this.btnPrune.Location = new System.Drawing.Point(104, 3);
     180      this.btnPrune.Name = "btnPrune";
     181      this.btnPrune.Size = new System.Drawing.Size(95, 23);
     182      this.btnPrune.TabIndex = 3;
     183      this.btnPrune.Text = "Prune";
     184      this.btnPrune.UseVisualStyleBackColor = true;
     185      this.btnPrune.Click += new System.EventHandler(this.btnPrune_Click);
     186      //
     187      // backgroundWorker1
     188      //
     189      this.backgroundWorker1.WorkerSupportsCancellation = true;
     190      this.backgroundWorker1.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker1_DoWork);
     191      this.backgroundWorker1.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker1_RunWorkerCompleted);
     192      //
    173193      // InteractiveSymbolicDataAnalysisSolutionSimplifierView
    174194      //
     
    179199      this.Size = new System.Drawing.Size(564, 348);
    180200      this.splitContainer.Panel1.ResumeLayout(false);
     201      this.splitContainer.Panel1.PerformLayout();
    181202      this.splitContainer.Panel2.ResumeLayout(false);
    182203      ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit();
     
    199220    private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel;
    200221    protected System.Windows.Forms.Button btnOptimizeConstants;
     222    private System.Windows.Forms.Button btnPrune;
     223    private System.ComponentModel.BackgroundWorker backgroundWorker1;
    201224  }
    202225}
Note: See TracChangeset for help on using the changeset viewer.