Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/25/11 17:18:58 (13 years ago)
Author:
swagner
Message:

Moved description from textbox to icon in NamedItemView and adapted all derived views (#1416)

File:
1 edited

Legend:

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

    r5445 r5832  
    4848      this.nameLabel = new System.Windows.Forms.Label();
    4949      this.nameTextBox = new System.Windows.Forms.TextBox();
    50       this.descriptionLabel = new System.Windows.Forms.Label();
    51       this.descriptionTextBox = new System.Windows.Forms.TextBox();
    5250      this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
    5351      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
     52      this.infoLabel = new System.Windows.Forms.Label();
    5453      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    5554      this.SuspendLayout();
     
    6867      this.nameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    6968                  | System.Windows.Forms.AnchorStyles.Right)));
    70       this.nameTextBox.Location = new System.Drawing.Point(72, 0);
     69      this.nameTextBox.Location = new System.Drawing.Point(58, 0);
    7170      this.nameTextBox.Name = "nameTextBox";
    72       this.nameTextBox.Size = new System.Drawing.Size(279, 20);
     71      this.nameTextBox.Size = new System.Drawing.Size(268, 20);
    7372      this.nameTextBox.TabIndex = 1;
    74       this.nameTextBox.Validated += new System.EventHandler(this.nameTextBox_Validated);
    7573      this.nameTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.nameTextBox_KeyDown);
    7674      this.nameTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.nameTextBox_Validating);
    77       //
    78       // descriptionLabel
    79       //
    80       this.descriptionLabel.AutoSize = true;
    81       this.descriptionLabel.Location = new System.Drawing.Point(3, 29);
    82       this.descriptionLabel.Name = "descriptionLabel";
    83       this.descriptionLabel.Size = new System.Drawing.Size(63, 13);
    84       this.descriptionLabel.TabIndex = 2;
    85       this.descriptionLabel.Text = "&Description:";
    86       //
    87       // descriptionTextBox
    88       //
    89       this.descriptionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    90                   | System.Windows.Forms.AnchorStyles.Right)));
    91       this.descriptionTextBox.Location = new System.Drawing.Point(72, 26);
    92       this.descriptionTextBox.Name = "descriptionTextBox";
    93       this.descriptionTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
    94       this.descriptionTextBox.Size = new System.Drawing.Size(279, 20);
    95       this.descriptionTextBox.TabIndex = 3;
    96       this.descriptionTextBox.DoubleClick += new System.EventHandler(this.descriptionTextBox_DoubleClick);
    97       this.descriptionTextBox.Validated += new System.EventHandler(this.descriptionTextBox_Validated);
     75      this.nameTextBox.Validated += new System.EventHandler(this.nameTextBox_Validated);
    9876      //
    9977      // errorProvider
     
    10280      this.errorProvider.ContainerControl = this;
    10381      //
     82      // infoLabel
     83      //
     84      this.infoLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     85      this.infoLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Information;
     86      this.infoLabel.Location = new System.Drawing.Point(332, 3);
     87      this.infoLabel.Name = "infoLabel";
     88      this.infoLabel.Size = new System.Drawing.Size(16, 16);
     89      this.infoLabel.TabIndex = 2;
     90      this.toolTip.SetToolTip(this.infoLabel, "Double-click to open description editor.");
     91      this.infoLabel.DoubleClick += new System.EventHandler(this.infoLabel_DoubleClick);
     92      //
    10493      // NamedItemView
    10594      //
    10695      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    10796      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    108       this.Controls.Add(this.descriptionTextBox);
     97      this.Controls.Add(this.infoLabel);
    10998      this.Controls.Add(this.nameTextBox);
    110       this.Controls.Add(this.descriptionLabel);
    11199      this.Controls.Add(this.nameLabel);
    112100      this.Name = "NamedItemView";
    113       this.Size = new System.Drawing.Size(351, 52);
     101      this.Size = new System.Drawing.Size(351, 28);
    114102      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
    115103      this.ResumeLayout(false);
     
    122110    protected System.Windows.Forms.TextBox nameTextBox;
    123111    protected System.Windows.Forms.Label nameLabel;
    124     protected System.Windows.Forms.Label descriptionLabel;
    125     protected System.Windows.Forms.TextBox descriptionTextBox;
    126112    protected System.Windows.Forms.ErrorProvider errorProvider;
    127113    protected System.Windows.Forms.ToolTip toolTip;
     114    protected System.Windows.Forms.Label infoLabel;
    128115  }
    129116}
Note: See TracChangeset for help on using the changeset viewer.