private void SetTextBoxEnabed() { loginTextBox.Enabled = !UseWindowsAuthentification; passwordTextBox.Enabled = !UseWindowsAuthentification; }