How can password textbox that set to :
password_txtBox.PasswordChar =\"*\"
to be unmasked ( from checkbox ) and then mask again without
For winforms:
private void checkBoxShowPassword_CheckedChanged(object sender, EventArgs e) { textBoxPassword.PasswordChar = checkBoxShowPassword.Checked ? '\0' : '*'; }