Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/08/10 16:26:35 (14 years ago)
Author:
epitzer
Message:

Incorporate changes suggested by abeham in 842#comment:28 (#842)

  • Fix persistence of selected assemblies
  • Fix problem with static initialization
  • Make parameter values (ActualValue) with parameter object
  • show (or hide) parameter namespaces as necessary
  • add icons for buttons, assemblies and namespaces
  • sort assemblies and namespaces alphabetically
  • correctly mark and unmark select assemblies
  • put assemblies and namespaces into group boxes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Programmable/3.3/ProgrammableOperatorView.Designer.cs

    r3764 r3903  
    4646    private void InitializeComponent() {
    4747      System.Windows.Forms.TabPage tabPage2;
     48      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProgrammableOperatorView));
    4849      this.splitContainer1 = new System.Windows.Forms.SplitContainer();
    4950      this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     51      this.assembliesBox = new System.Windows.Forms.GroupBox();
    5052      this.assembliesTreeView = new System.Windows.Forms.TreeView();
     53      this.namespacesBox = new System.Windows.Forms.GroupBox();
    5154      this.namespacesTreeView = new System.Windows.Forms.TreeView();
    5255      this.showCodeButton = new System.Windows.Forms.Button();
     
    6568      this.splitContainer2.Panel2.SuspendLayout();
    6669      this.splitContainer2.SuspendLayout();
     70      this.assembliesBox.SuspendLayout();
     71      this.namespacesBox.SuspendLayout();
    6772      this.tabControl1.SuspendLayout();
    6873      this.tabPage1.SuspendLayout();
     
    106111      this.splitContainer1.Panel2.Controls.Add(this.codeEditor);
    107112      this.splitContainer1.Size = new System.Drawing.Size(971, 613);
    108       this.splitContainer1.SplitterDistance = 254;
     113      this.splitContainer1.SplitterDistance = 244;
    109114      this.splitContainer1.TabIndex = 0;
    110115      //
     
    114119                  | System.Windows.Forms.AnchorStyles.Left)
    115120                  | System.Windows.Forms.AnchorStyles.Right)));
    116       this.splitContainer2.Location = new System.Drawing.Point(3, 3);
     121      this.splitContainer2.Location = new System.Drawing.Point(0, 33);
    117122      this.splitContainer2.Name = "splitContainer2";
    118123      this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
     
    120125      // splitContainer2.Panel1
    121126      //
    122       this.splitContainer2.Panel1.Controls.Add(this.assembliesTreeView);
     127      this.splitContainer2.Panel1.Controls.Add(this.assembliesBox);
    123128      //
    124129      // splitContainer2.Panel2
    125130      //
    126       this.splitContainer2.Panel2.Controls.Add(this.namespacesTreeView);
    127       this.splitContainer2.Size = new System.Drawing.Size(248, 578);
    128       this.splitContainer2.SplitterDistance = 289;
     131      this.splitContainer2.Panel2.Controls.Add(this.namespacesBox);
     132      this.splitContainer2.Size = new System.Drawing.Size(242, 583);
     133      this.splitContainer2.SplitterDistance = 290;
    129134      this.splitContainer2.TabIndex = 2;
     135      //
     136      // assembliesBox
     137      //
     138      this.assembliesBox.Controls.Add(this.assembliesTreeView);
     139      this.assembliesBox.Dock = System.Windows.Forms.DockStyle.Fill;
     140      this.assembliesBox.Location = new System.Drawing.Point(0, 0);
     141      this.assembliesBox.Name = "assembliesBox";
     142      this.assembliesBox.Size = new System.Drawing.Size(242, 290);
     143      this.assembliesBox.TabIndex = 1;
     144      this.assembliesBox.TabStop = false;
     145      this.assembliesBox.Text = "Assemblies";
    130146      //
    131147      // assembliesTreeView
     
    133149      this.assembliesTreeView.CheckBoxes = true;
    134150      this.assembliesTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
    135       this.assembliesTreeView.Location = new System.Drawing.Point(0, 0);
     151      this.assembliesTreeView.Location = new System.Drawing.Point(3, 16);
    136152      this.assembliesTreeView.Name = "assembliesTreeView";
    137       this.assembliesTreeView.Size = new System.Drawing.Size(248, 289);
     153      this.assembliesTreeView.Size = new System.Drawing.Size(236, 271);
    138154      this.assembliesTreeView.TabIndex = 0;
    139155      this.assembliesTreeView.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.assembliesTreeView_AfterCheck);
    140156      //
     157      // namespacesBox
     158      //
     159      this.namespacesBox.Controls.Add(this.namespacesTreeView);
     160      this.namespacesBox.Dock = System.Windows.Forms.DockStyle.Fill;
     161      this.namespacesBox.Location = new System.Drawing.Point(0, 0);
     162      this.namespacesBox.Name = "namespacesBox";
     163      this.namespacesBox.Size = new System.Drawing.Size(242, 289);
     164      this.namespacesBox.TabIndex = 1;
     165      this.namespacesBox.TabStop = false;
     166      this.namespacesBox.Text = "Namespaces";
     167      //
    141168      // namespacesTreeView
    142169      //
    143170      this.namespacesTreeView.CheckBoxes = true;
    144171      this.namespacesTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
    145       this.namespacesTreeView.Location = new System.Drawing.Point(0, 0);
     172      this.namespacesTreeView.Location = new System.Drawing.Point(3, 16);
    146173      this.namespacesTreeView.Name = "namespacesTreeView";
    147174      this.namespacesTreeView.PathSeparator = ".";
    148       this.namespacesTreeView.Size = new System.Drawing.Size(248, 285);
     175      this.namespacesTreeView.Size = new System.Drawing.Size(236, 270);
    149176      this.namespacesTreeView.TabIndex = 0;
    150177      this.namespacesTreeView.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.namespacesTreeView_AfterCheck);
     
    152179      // showCodeButton
    153180      //
    154       this.showCodeButton.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
    155                   | System.Windows.Forms.AnchorStyles.Right)));
    156       this.showCodeButton.Location = new System.Drawing.Point(65, 587);
     181      this.showCodeButton.Image = ((System.Drawing.Image)(resources.GetObject("showCodeButton.Image")));
     182      this.showCodeButton.Location = new System.Drawing.Point(33, 3);
    157183      this.showCodeButton.Name = "showCodeButton";
    158       this.showCodeButton.Size = new System.Drawing.Size(186, 23);
     184      this.showCodeButton.Size = new System.Drawing.Size(24, 24);
    159185      this.showCodeButton.TabIndex = 0;
    160       this.showCodeButton.Text = "&Show Generated Code ...";
     186      this.showCodeButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     187      this.toolTip.SetToolTip(this.showCodeButton, "Show generated code");
    161188      this.showCodeButton.UseVisualStyleBackColor = false;
    162189      this.showCodeButton.Click += new System.EventHandler(this.showCodeButton_Click);
     
    164191      // compileButton
    165192      //
    166       this.compileButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
    167       this.compileButton.Location = new System.Drawing.Point(3, 587);
     193      this.compileButton.Image = ((System.Drawing.Image)(resources.GetObject("compileButton.Image")));
     194      this.compileButton.Location = new System.Drawing.Point(3, 3);
    168195      this.compileButton.Name = "compileButton";
    169       this.compileButton.Size = new System.Drawing.Size(56, 23);
     196      this.compileButton.Size = new System.Drawing.Size(24, 24);
    170197      this.compileButton.TabIndex = 1;
    171       this.compileButton.Text = "&Compile";
     198      this.compileButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     199      this.toolTip.SetToolTip(this.compileButton, "Compile");
    172200      this.compileButton.UseVisualStyleBackColor = true;
    173201      this.compileButton.Click += new System.EventHandler(this.compileButton_Click);
     
    179207      this.codeEditor.Name = "codeEditor";
    180208      this.codeEditor.Prefix = "";
    181       this.codeEditor.Size = new System.Drawing.Size(713, 613);
     209      this.codeEditor.Size = new System.Drawing.Size(723, 613);
    182210      this.codeEditor.Suffix = "";
    183211      this.codeEditor.TabIndex = 0;
     
    209237      this.tabPage1.UseVisualStyleBackColor = true;
    210238      //
    211       // parameterCollectionView1
    212       //
     239      // parameterCollectionView
     240      //
     241      this.parameterCollectionView.Caption = "ParameterCollection View";
    213242      this.parameterCollectionView.Content = null;
    214243      this.parameterCollectionView.Dock = System.Windows.Forms.DockStyle.Fill;
    215244      this.parameterCollectionView.Location = new System.Drawing.Point(3, 3);
    216       this.parameterCollectionView.Name = "parameterCollectionView1";
     245      this.parameterCollectionView.Name = "parameterCollectionView";
     246      this.parameterCollectionView.ReadOnly = false;
    217247      this.parameterCollectionView.Size = new System.Drawing.Size(971, 613);
    218248      this.parameterCollectionView.TabIndex = 0;
     
    238268      this.splitContainer2.Panel2.ResumeLayout(false);
    239269      this.splitContainer2.ResumeLayout(false);
     270      this.assembliesBox.ResumeLayout(false);
     271      this.namespacesBox.ResumeLayout(false);
    240272      this.tabControl1.ResumeLayout(false);
    241273      this.tabPage1.ResumeLayout(false);
     
    256288    private System.Windows.Forms.SplitContainer splitContainer2;
    257289    private System.Windows.Forms.TreeView assembliesTreeView;
    258     private System.Windows.Forms.TreeView namespacesTreeView;   
     290    private System.Windows.Forms.TreeView namespacesTreeView;
     291    private System.Windows.Forms.GroupBox assembliesBox;
     292    private System.Windows.Forms.GroupBox namespacesBox;
    259293  }
    260294}
Note: See TracChangeset for help on using the changeset viewer.