Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/30/10 15:13:48 (14 years ago)
Author:
gkronber
Message:

Implemented a list of review comments by swagner. #989 (Implement review comments in plugin infrastructure)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/ConnectionSetupView.Designer.cs

    r3474 r3573  
    4444    /// </summary>
    4545    private void InitializeComponent() {
     46      this.components = new System.ComponentModel.Container();
    4647      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConnectionSetupView));
    4748      this.urlTextBox = new System.Windows.Forms.TextBox();
     
    5455      this.savePasswordCheckbox = new System.Windows.Forms.CheckBox();
    5556      this.cancelButton = new System.Windows.Forms.Button();
     57      this.groupBox1 = new System.Windows.Forms.GroupBox();
     58      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
     59      this.groupBox1.SuspendLayout();
    5660      this.SuspendLayout();
    5761      //
     
    6064      this.urlTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    6165                  | System.Windows.Forms.AnchorStyles.Right)));
    62       this.urlTextBox.Location = new System.Drawing.Point(80, 15);
     66      this.urlTextBox.Location = new System.Drawing.Point(66, 15);
    6367      this.urlTextBox.Name = "urlTextBox";
    64       this.urlTextBox.Size = new System.Drawing.Size(219, 20);
     68      this.urlTextBox.Size = new System.Drawing.Size(410, 20);
    6569      this.urlTextBox.TabIndex = 0;
     70      this.toolTip.SetToolTip(this.urlTextBox, "URL of HeuristicLab Plugin Deployment Service");
    6671      //
    6772      // urlLabel
     
    7277      this.urlLabel.Size = new System.Drawing.Size(48, 13);
    7378      this.urlLabel.TabIndex = 1;
    74       this.urlLabel.Text = "Address:";
     79      this.urlLabel.Text = "&Address:";
    7580      //
    7681      // userLabel
    7782      //
    7883      this.userLabel.AutoSize = true;
    79       this.userLabel.Location = new System.Drawing.Point(12, 44);
     84      this.userLabel.Location = new System.Drawing.Point(6, 22);
    8085      this.userLabel.Name = "userLabel";
    81       this.userLabel.Size = new System.Drawing.Size(32, 13);
     86      this.userLabel.Size = new System.Drawing.Size(58, 13);
    8287      this.userLabel.TabIndex = 3;
    83       this.userLabel.Text = "User:";
     88      this.userLabel.Text = "&Username:";
    8489      //
    8590      // userTextBox
     
    8792      this.userTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    8893                  | System.Windows.Forms.AnchorStyles.Right)));
    89       this.userTextBox.Location = new System.Drawing.Point(80, 41);
     94      this.userTextBox.Location = new System.Drawing.Point(94, 19);
    9095      this.userTextBox.Name = "userTextBox";
    91       this.userTextBox.Size = new System.Drawing.Size(219, 20);
    92       this.userTextBox.TabIndex = 2;
     96      this.userTextBox.Size = new System.Drawing.Size(155, 20);
     97      this.userTextBox.TabIndex = 0;
     98      this.toolTip.SetToolTip(this.userTextBox, "Username used to connect to the HeuristicLab plugin deployment service");
    9399      //
    94100      // passwordLabel
    95101      //
    96102      this.passwordLabel.AutoSize = true;
    97       this.passwordLabel.Location = new System.Drawing.Point(12, 70);
     103      this.passwordLabel.Location = new System.Drawing.Point(6, 48);
    98104      this.passwordLabel.Name = "passwordLabel";
    99105      this.passwordLabel.Size = new System.Drawing.Size(56, 13);
    100106      this.passwordLabel.TabIndex = 5;
    101       this.passwordLabel.Text = "Password:";
     107      this.passwordLabel.Text = "&Password:";
    102108      //
    103109      // passwordTextBox
     
    105111      this.passwordTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    106112                  | System.Windows.Forms.AnchorStyles.Right)));
    107       this.passwordTextBox.Location = new System.Drawing.Point(80, 67);
     113      this.passwordTextBox.Location = new System.Drawing.Point(94, 45);
    108114      this.passwordTextBox.Name = "passwordTextBox";
    109       this.passwordTextBox.Size = new System.Drawing.Size(219, 20);
    110       this.passwordTextBox.TabIndex = 4;
     115      this.passwordTextBox.Size = new System.Drawing.Size(155, 20);
     116      this.passwordTextBox.TabIndex = 1;
     117      this.toolTip.SetToolTip(this.passwordTextBox, "Passwort used to connect to the HeuristicLab plugin deployment service");
    111118      this.passwordTextBox.UseSystemPasswordChar = true;
    112119      //
     
    114121      //
    115122      this.applyButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
    116       this.applyButton.Location = new System.Drawing.Point(143, 127);
     123      this.applyButton.Location = new System.Drawing.Point(320, 148);
    117124      this.applyButton.Name = "applyButton";
    118125      this.applyButton.Size = new System.Drawing.Size(75, 23);
    119       this.applyButton.TabIndex = 6;
    120       this.applyButton.Text = "Apply";
     126      this.applyButton.TabIndex = 2;
     127      this.applyButton.Text = "&OK";
     128      this.toolTip.SetToolTip(this.applyButton, "Apply and save changes");
    121129      this.applyButton.UseVisualStyleBackColor = true;
    122130      this.applyButton.Click += new System.EventHandler(this.applyButton_Click);
     
    126134      this.savePasswordCheckbox.AutoSize = true;
    127135      this.savePasswordCheckbox.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
    128       this.savePasswordCheckbox.Location = new System.Drawing.Point(80, 93);
     136      this.savePasswordCheckbox.Location = new System.Drawing.Point(6, 71);
    129137      this.savePasswordCheckbox.Name = "savePasswordCheckbox";
    130138      this.savePasswordCheckbox.Size = new System.Drawing.Size(103, 17);
    131       this.savePasswordCheckbox.TabIndex = 7;
    132       this.savePasswordCheckbox.Text = "Save Password:";
     139      this.savePasswordCheckbox.TabIndex = 2;
     140      this.savePasswordCheckbox.Text = "&Save Password:";
     141      this.toolTip.SetToolTip(this.savePasswordCheckbox, "Check to save the user credentials to disk");
    133142      this.savePasswordCheckbox.UseVisualStyleBackColor = true;
    134143      //
     
    136145      //
    137146      this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
    138       this.cancelButton.Location = new System.Drawing.Point(224, 127);
     147      this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     148      this.cancelButton.Location = new System.Drawing.Point(401, 148);
    139149      this.cancelButton.Name = "cancelButton";
    140150      this.cancelButton.Size = new System.Drawing.Size(75, 23);
    141       this.cancelButton.TabIndex = 8;
    142       this.cancelButton.Text = "Cancel";
     151      this.cancelButton.TabIndex = 3;
     152      this.cancelButton.Text = "&Cancel";
     153      this.toolTip.SetToolTip(this.cancelButton, "Cancel and revert changes");
    143154      this.cancelButton.UseVisualStyleBackColor = true;
    144155      this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
    145156      //
     157      // groupBox1
     158      //
     159      this.groupBox1.Controls.Add(this.userTextBox);
     160      this.groupBox1.Controls.Add(this.userLabel);
     161      this.groupBox1.Controls.Add(this.savePasswordCheckbox);
     162      this.groupBox1.Controls.Add(this.passwordTextBox);
     163      this.groupBox1.Controls.Add(this.passwordLabel);
     164      this.groupBox1.Location = new System.Drawing.Point(12, 41);
     165      this.groupBox1.Name = "groupBox1";
     166      this.groupBox1.Size = new System.Drawing.Size(255, 96);
     167      this.groupBox1.TabIndex = 1;
     168      this.groupBox1.TabStop = false;
     169      this.groupBox1.Text = "User Credentials";
     170      //
    146171      // ConnectionSetupView
    147172      //
     173      this.AcceptButton = this.applyButton;
    148174      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    149175      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    150       this.ClientSize = new System.Drawing.Size(311, 162);
     176      this.CancelButton = this.cancelButton;
     177      this.ClientSize = new System.Drawing.Size(488, 183);
     178      this.Controls.Add(this.groupBox1);
    151179      this.Controls.Add(this.cancelButton);
    152       this.Controls.Add(this.savePasswordCheckbox);
    153180      this.Controls.Add(this.applyButton);
    154       this.Controls.Add(this.passwordLabel);
    155       this.Controls.Add(this.passwordTextBox);
    156       this.Controls.Add(this.userLabel);
    157       this.Controls.Add(this.userTextBox);
    158181      this.Controls.Add(this.urlLabel);
    159182      this.Controls.Add(this.urlTextBox);
    160183      this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
    161184      this.MaximizeBox = false;
    162       this.MaximumSize = new System.Drawing.Size(327, 198);
    163185      this.MinimizeBox = false;
    164       this.MinimumSize = new System.Drawing.Size(327, 198);
    165186      this.Name = "ConnectionSetupView";
    166187      this.ShowInTaskbar = false;
    167188      this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     189      this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
    168190      this.Text = "Edit Connection Settings";
     191      this.groupBox1.ResumeLayout(false);
     192      this.groupBox1.PerformLayout();
    169193      this.ResumeLayout(false);
    170194      this.PerformLayout();
     
    183207    private System.Windows.Forms.CheckBox savePasswordCheckbox;
    184208    private System.Windows.Forms.Button cancelButton;
     209    private System.Windows.Forms.GroupBox groupBox1;
     210    private System.Windows.Forms.ToolTip toolTip;
    185211  }
    186212}
Note: See TracChangeset for help on using the changeset viewer.