private void chkShowPassword_CheckedChanged(object sender, EventArgs e) { txtPassword.UseSystemPasswordChar = !chkShowPassword.Checked; }