mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 14:07:46 +08:00
rename dll to ExternalConnectors.dll for possible other future implementations refactor namespaces in dll
31 lines
730 B
C#
31 lines
730 B
C#
namespace ExternalConnectors.TSS
|
|
{
|
|
public partial class SSConnectionForm : Form
|
|
{
|
|
public SSConnectionForm()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void SSConnectionForm_Activated(object sender, EventArgs e)
|
|
{
|
|
SetVisibility();
|
|
if (cbUseSSO.Checked)
|
|
btnOK.Focus();
|
|
else
|
|
tbPassword.Focus();
|
|
}
|
|
|
|
private void cbUseSSO_CheckedChanged(object sender, EventArgs e)
|
|
{
|
|
SetVisibility();
|
|
}
|
|
private void SetVisibility()
|
|
{
|
|
bool ch = cbUseSSO.Checked;
|
|
tbPassword.Enabled = !ch;
|
|
tbUsername.Enabled = !ch;
|
|
}
|
|
}
|
|
}
|