Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/27/10 03:55:16 (14 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • implemented ideas which came up during today's presentation of HeuristicLab.Core and related plugins
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/ViewHost.Designer.cs

    r2676 r2687  
    4545    /// </summary>
    4646    private void InitializeComponent() {
     47      this.components = new System.ComponentModel.Container();
    4748      this.viewPanel = new System.Windows.Forms.Panel();
    4849      this.messageLabel = new System.Windows.Forms.Label();
    49       this.viewLabel = new System.Windows.Forms.Label();
    50       this.viewComboBox = new System.Windows.Forms.ComboBox();
     50      this.viewsLabel = new System.Windows.Forms.Label();
     51      this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
    5152      this.SuspendLayout();
    5253      //
     
    5657                  | System.Windows.Forms.AnchorStyles.Left)
    5758                  | System.Windows.Forms.AnchorStyles.Right)));
    58       this.viewPanel.Location = new System.Drawing.Point(0, 27);
     59      this.viewPanel.Location = new System.Drawing.Point(0, 0);
    5960      this.viewPanel.Name = "viewPanel";
    60       this.viewPanel.Size = new System.Drawing.Size(227, 157);
     61      this.viewPanel.Size = new System.Drawing.Size(205, 184);
    6162      this.viewPanel.TabIndex = 2;
    6263      //
     
    7172      this.messageLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
    7273      //
    73       // viewLabel
     74      // viewsLabel
    7475      //
    75       this.viewLabel.AutoSize = true;
    76       this.viewLabel.Location = new System.Drawing.Point(3, 3);
    77       this.viewLabel.Name = "viewLabel";
    78       this.viewLabel.Size = new System.Drawing.Size(33, 13);
    79       this.viewLabel.TabIndex = 0;
    80       this.viewLabel.Text = "&View:";
     76      this.viewsLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     77      this.viewsLabel.ContextMenuStrip = this.contextMenuStrip;
     78      this.viewsLabel.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Windows;
     79      this.viewsLabel.Location = new System.Drawing.Point(211, 0);
     80      this.viewsLabel.Name = "viewsLabel";
     81      this.viewsLabel.Size = new System.Drawing.Size(16, 16);
     82      this.viewsLabel.TabIndex = 0;
    8183      //
    82       // viewComboBox
     84      // contextMenuStrip
    8385      //
    84       this.viewComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    85                   | System.Windows.Forms.AnchorStyles.Right)));
    86       this.viewComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
    87       this.viewComboBox.FormattingEnabled = true;
    88       this.viewComboBox.Location = new System.Drawing.Point(42, 0);
    89       this.viewComboBox.Name = "viewComboBox";
    90       this.viewComboBox.Size = new System.Drawing.Size(185, 21);
    91       this.viewComboBox.TabIndex = 1;
    92       this.viewComboBox.SelectedIndexChanged += new System.EventHandler(this.viewComboBox_SelectedIndexChanged);
     86      this.contextMenuStrip.Name = "contextMenuStrip";
     87      this.contextMenuStrip.ShowCheckMargin = true;
     88      this.contextMenuStrip.ShowImageMargin = false;
     89      this.contextMenuStrip.Size = new System.Drawing.Size(61, 4);
     90      this.contextMenuStrip.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.contextMenuStrip_ItemClicked);
    9391      //
    9492      // ViewHost
     
    9694      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    9795      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    98       this.Controls.Add(this.viewComboBox);
    99       this.Controls.Add(this.viewLabel);
    10096      this.Controls.Add(this.viewPanel);
     97      this.Controls.Add(this.viewsLabel);
    10198      this.Controls.Add(this.messageLabel);
    10299      this.Name = "ViewHost";
    103100      this.Size = new System.Drawing.Size(227, 184);
    104101      this.ResumeLayout(false);
    105       this.PerformLayout();
    106102
    107103    }
     
    110106
    111107    protected System.Windows.Forms.Panel viewPanel;
    112     protected System.Windows.Forms.Label viewLabel;
    113     protected System.Windows.Forms.ComboBox viewComboBox;
     108    protected System.Windows.Forms.Label viewsLabel;
    114109    protected System.Windows.Forms.Label messageLabel;
     110    protected System.Windows.Forms.ContextMenuStrip contextMenuStrip;
    115111
    116112  }
Note: See TracChangeset for help on using the changeset viewer.