-1

In the properties section I changed the passwordChar, but i want to change the passwordChar to nothing.

Something like this:

private void passwordG_MouseHover(object sender, EventArgs e)
{
    passwordG.PasswordChar = none;
}
Nic Foster
  • 2,864
  • 1
  • 27
  • 45
ron cohen
  • 295
  • 1
  • 3
  • 9

1 Answers1

3

if you mean you want to change it back to nothing. then we have char \0

private void passwordG_MouseHover(object sender, EventArgs e)
{
    passwordG.PasswordChar = '\0';
}

set char to null or the equivalent of zero

M.kazem Akhgary
  • 18,645
  • 8
  • 57
  • 118