Update design of Agent Wizard

refs #9119
This commit is contained in:
Jean Flach 2016-10-26 10:30:12 +02:00
parent 4b61aee90c
commit f1a8a74b95
2 changed files with 9 additions and 9 deletions

View File

@ -207,10 +207,10 @@
this.groupBox3.Text = "Advanced Options"; this.groupBox3.Text = "Advanced Options";
// //
// txtUser // txtUser
// //
this.txtUser.Enabled = false;
this.txtUser.Location = new System.Drawing.Point(28, 111); this.txtUser.Location = new System.Drawing.Point(28, 111);
this.txtUser.Name = "txtUser"; this.txtUser.Name = "txtUser";
this.txtUser.ReadOnly = true;
this.txtUser.Size = new System.Drawing.Size(267, 20); this.txtUser.Size = new System.Drawing.Size(267, 20);
this.txtUser.TabIndex = 8; this.txtUser.TabIndex = 8;
this.txtUser.Text = "NT AUTHORITY\\NetworkService"; this.txtUser.Text = "NT AUTHORITY\\NetworkService";
@ -381,9 +381,9 @@
// lvwEndpoints // lvwEndpoints
// //
this.lvwEndpoints.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.lvwEndpoints.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.colInstanceName, this.colInstanceName,
this.colHost, this.colHost,
this.colPort}); this.colPort});
this.lvwEndpoints.FullRowSelect = true; this.lvwEndpoints.FullRowSelect = true;
this.lvwEndpoints.Location = new System.Drawing.Point(11, 83); this.lvwEndpoints.Location = new System.Drawing.Point(11, 83);
this.lvwEndpoints.Name = "lvwEndpoints"; this.lvwEndpoints.Name = "lvwEndpoints";
@ -522,8 +522,8 @@
// lvwX509Fields // lvwX509Fields
// //
this.lvwX509Fields.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.lvwX509Fields.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.colField, this.colField,
this.colValue}); this.colValue});
this.lvwX509Fields.Location = new System.Drawing.Point(6, 19); this.lvwX509Fields.Location = new System.Drawing.Point(6, 19);
this.lvwX509Fields.Name = "lvwX509Fields"; this.lvwX509Fields.Name = "lvwX509Fields";
this.lvwX509Fields.Size = new System.Drawing.Size(586, 172); this.lvwX509Fields.Size = new System.Drawing.Size(586, 172);

View File

@ -499,8 +499,8 @@ namespace Icinga
private void chkDifferentUser_CheckedChanged(object sender, EventArgs e) private void chkDifferentUser_CheckedChanged(object sender, EventArgs e)
{ {
txtUser.ReadOnly = !txtUser.ReadOnly; txtUser.Enabled = !txtUser.Enabled;
if (txtUser.ReadOnly) if (!txtUser.Enabled)
txtUser.Text = Icinga2User; txtUser.Text = Icinga2User;
} }
} }