Add option to show password
This commit is contained in:
@@ -46,6 +46,7 @@ namespace Shadowsocks.View
|
||||
IPLabel.Text = I18N.GetString("Server Addr");
|
||||
ServerPortLabel.Text = I18N.GetString("Server Port");
|
||||
PasswordLabel.Text = I18N.GetString("Password");
|
||||
ShowPasswdCheckBox.Text = I18N.GetString("Show Password");
|
||||
EncryptionLabel.Text = I18N.GetString("Encryption");
|
||||
PluginLabel.Text = I18N.GetString("Plugin");
|
||||
PluginOptionsLabel.Text = I18N.GetString("Plugin Options");
|
||||
@@ -358,5 +359,12 @@ namespace Shadowsocks.View
|
||||
MoveConfigItem(+1); // +1 means move forward
|
||||
}
|
||||
}
|
||||
|
||||
private void ShowPasswdCheckBox_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
//this.ShowPasswdCheckBox.Checked = !this.ShowPasswdCheckBox.Checked;
|
||||
this.PasswordTextBox.UseSystemPasswordChar = !this.ShowPasswdCheckBox.Checked;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user