Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/27/11 02:37:02 (12 years ago)
Author:
swagner
Message:

Added information icon in VariableValueView and ResultValueView, corrected tooltip update in NamedItemCollectionView and reverted changes of r6631 (#1054).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/ResultValueView.Designer.cs

    r5875 r7235  
    4545    /// </summary>
    4646    private void InitializeComponent() {
     47      this.components = new System.ComponentModel.Container();
    4748      this.viewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost();
     49      this.infoLabel = new System.Windows.Forms.Label();
     50      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
    4851      this.SuspendLayout();
    4952      //
    5053      // viewHost
    5154      //
     55      this.viewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     56            | System.Windows.Forms.AnchorStyles.Left)
     57            | System.Windows.Forms.AnchorStyles.Right)));
    5258      this.viewHost.Caption = "View";
    5359      this.viewHost.Content = null;
    54       this.viewHost.Dock = System.Windows.Forms.DockStyle.Fill;
    5560      this.viewHost.Enabled = false;
    5661      this.viewHost.Location = new System.Drawing.Point(0, 0);
    5762      this.viewHost.Name = "viewHost";
    5863      this.viewHost.ReadOnly = false;
    59       this.viewHost.Size = new System.Drawing.Size(359, 274);
     64      this.viewHost.Size = new System.Drawing.Size(334, 274);
    6065      this.viewHost.TabIndex = 0;
    6166      this.viewHost.ViewsLabelVisible = true;
    6267      this.viewHost.ViewType = null;
     68      //
     69      // infoLabel
     70      //
     71      this.infoLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     72      this.infoLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Information;
     73      this.infoLabel.Location = new System.Drawing.Point(340, 3);
     74      this.infoLabel.Name = "infoLabel";
     75      this.infoLabel.Size = new System.Drawing.Size(16, 16);
     76      this.infoLabel.TabIndex = 1;
     77      this.toolTip.SetToolTip(this.infoLabel, "Double-click to open description editor.");
     78      this.infoLabel.DoubleClick += new System.EventHandler(this.infoLabel_DoubleClick);
    6379      //
    6480      // ResultValueView
     
    6682      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    6783      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     84      this.Controls.Add(this.infoLabel);
    6885      this.Controls.Add(this.viewHost);
    6986      this.Name = "ResultValueView";
     
    7693
    7794    private HeuristicLab.MainForm.WindowsForms.ViewHost viewHost;
     95    private System.Windows.Forms.Label infoLabel;
     96    private System.Windows.Forms.ToolTip toolTip;
    7897  }
    7998}
Note: See TracChangeset for help on using the changeset viewer.