private void btnShowPass_Click(object sender, EventArgs e) { if (txtPassword.Text.Length > 0) { txtPassword.PasswordChar = ext.togglePassChar(txtPassword.PasswordChar); } }
private void btnShowPass_Click(object sender, EventArgs e) { // dynamically remove PassChar prop from txtPassword if (txtPassword.Text.Length > 0) { txtPassword.PasswordChar = ext.togglePassChar(txtPassword.PasswordChar); } }