Ejemplo n.º 1
0
 private void CurrentPasswordTB_Leave(object sender, EventArgs e)
 {
     CurrentPasswordTB.AddText(CurrentPasswordTBPlaceholder);
     if (String.IsNullOrWhiteSpace(CurrentPasswordTB.Text) || CurrentPasswordTB.Text == CurrentPasswordTBPlaceholder)
     {
         CurrentPasswordTB.PasswordChar = '\0';
     }
 }
Ejemplo n.º 2
0
 private void CurrentPasswordTB_Enter(object sender, EventArgs e)
 {
     CurrentPasswordTB.RemoveText(CurrentPasswordTBPlaceholder);
     CurrentPasswordTB.PasswordChar = '●';
 }