mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 05:34:48 +02:00
parent
4b61aee90c
commit
f1a8a74b95
@ -208,9 +208,9 @@
|
||||
//
|
||||
// txtUser
|
||||
//
|
||||
this.txtUser.Enabled = false;
|
||||
this.txtUser.Location = new System.Drawing.Point(28, 111);
|
||||
this.txtUser.Name = "txtUser";
|
||||
this.txtUser.ReadOnly = true;
|
||||
this.txtUser.Size = new System.Drawing.Size(267, 20);
|
||||
this.txtUser.TabIndex = 8;
|
||||
this.txtUser.Text = "NT AUTHORITY\\NetworkService";
|
||||
|
@ -499,8 +499,8 @@ namespace Icinga
|
||||
|
||||
private void chkDifferentUser_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
txtUser.ReadOnly = !txtUser.ReadOnly;
|
||||
if (txtUser.ReadOnly)
|
||||
txtUser.Enabled = !txtUser.Enabled;
|
||||
if (!txtUser.Enabled)
|
||||
txtUser.Text = Icinga2User;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user