mirror of https://github.com/Icinga/icinga2.git
parent
b10a6b75a8
commit
96cd4dc18e
|
@ -40,7 +40,7 @@
|
||||||
this.tabParameters = new System.Windows.Forms.TabPage();
|
this.tabParameters = new System.Windows.Forms.TabPage();
|
||||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||||
this.txtUser = new System.Windows.Forms.TextBox();
|
this.txtUser = new System.Windows.Forms.TextBox();
|
||||||
this.chkDifferentUser = new System.Windows.Forms.CheckBox();
|
this.chkRunServiceAsThisUser = new System.Windows.Forms.CheckBox();
|
||||||
this.chkInstallNSCP = new System.Windows.Forms.CheckBox();
|
this.chkInstallNSCP = new System.Windows.Forms.CheckBox();
|
||||||
this.chkAcceptConfig = new System.Windows.Forms.CheckBox();
|
this.chkAcceptConfig = new System.Windows.Forms.CheckBox();
|
||||||
this.chkAcceptCommands = new System.Windows.Forms.CheckBox();
|
this.chkAcceptCommands = new System.Windows.Forms.CheckBox();
|
||||||
|
@ -195,7 +195,7 @@
|
||||||
// groupBox3
|
// groupBox3
|
||||||
//
|
//
|
||||||
this.groupBox3.Controls.Add(this.txtUser);
|
this.groupBox3.Controls.Add(this.txtUser);
|
||||||
this.groupBox3.Controls.Add(this.chkDifferentUser);
|
this.groupBox3.Controls.Add(this.chkRunServiceAsThisUser);
|
||||||
this.groupBox3.Controls.Add(this.chkInstallNSCP);
|
this.groupBox3.Controls.Add(this.chkInstallNSCP);
|
||||||
this.groupBox3.Controls.Add(this.chkAcceptConfig);
|
this.groupBox3.Controls.Add(this.chkAcceptConfig);
|
||||||
this.groupBox3.Controls.Add(this.chkAcceptCommands);
|
this.groupBox3.Controls.Add(this.chkAcceptCommands);
|
||||||
|
@ -215,16 +215,16 @@
|
||||||
this.txtUser.TabIndex = 8;
|
this.txtUser.TabIndex = 8;
|
||||||
this.txtUser.Text = "NT AUTHORITY\\NetworkService";
|
this.txtUser.Text = "NT AUTHORITY\\NetworkService";
|
||||||
//
|
//
|
||||||
// chkDifferentUser
|
// chkRunServiceAsThisUser
|
||||||
//
|
//
|
||||||
this.chkDifferentUser.AutoSize = true;
|
this.chkRunServiceAsThisUser.AutoSize = true;
|
||||||
this.chkDifferentUser.Location = new System.Drawing.Point(9, 88);
|
this.chkRunServiceAsThisUser.Location = new System.Drawing.Point(9, 88);
|
||||||
this.chkDifferentUser.Name = "chkDifferentUser";
|
this.chkRunServiceAsThisUser.Name = "chkRunServiceAsThisUser";
|
||||||
this.chkDifferentUser.Size = new System.Drawing.Size(109, 17);
|
this.chkRunServiceAsThisUser.Size = new System.Drawing.Size(142, 17);
|
||||||
this.chkDifferentUser.TabIndex = 7;
|
this.chkRunServiceAsThisUser.TabIndex = 7;
|
||||||
this.chkDifferentUser.Text = "Use different user";
|
this.chkRunServiceAsThisUser.Text = "Run service as this user:";
|
||||||
this.chkDifferentUser.UseVisualStyleBackColor = true;
|
this.chkRunServiceAsThisUser.UseVisualStyleBackColor = true;
|
||||||
this.chkDifferentUser.CheckedChanged += new System.EventHandler(this.chkDifferentUser_CheckedChanged);
|
this.chkRunServiceAsThisUser.CheckedChanged += new System.EventHandler(this.chkRunServiceAsThisUser_CheckedChanged);
|
||||||
//
|
//
|
||||||
// chkInstallNSCP
|
// chkInstallNSCP
|
||||||
//
|
//
|
||||||
|
@ -722,7 +722,7 @@
|
||||||
private System.Windows.Forms.CheckBox chkAcceptCommands;
|
private System.Windows.Forms.CheckBox chkAcceptCommands;
|
||||||
private System.Windows.Forms.CheckBox chkInstallNSCP;
|
private System.Windows.Forms.CheckBox chkInstallNSCP;
|
||||||
private System.Windows.Forms.TextBox txtUser;
|
private System.Windows.Forms.TextBox txtUser;
|
||||||
private System.Windows.Forms.CheckBox chkDifferentUser;
|
private System.Windows.Forms.CheckBox chkRunServiceAsThisUser;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -497,7 +497,7 @@ namespace Icinga
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void chkDifferentUser_CheckedChanged(object sender, EventArgs e)
|
private void chkRunServiceAsThisUser_CheckedChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
txtUser.Enabled = !txtUser.Enabled;
|
txtUser.Enabled = !txtUser.Enabled;
|
||||||
if (!txtUser.Enabled)
|
if (!txtUser.Enabled)
|
||||||
|
|
Loading…
Reference in New Issue