private void PW_Enter(object sender, EventArgs e) { if ((PW.Text != "" && PW.Text != "Password")) { PW.UseSystemPasswordChar = true; PW.Clear(); PW.ForeColor = Color.Black; } }
private void PW_Click_1(object sender, EventArgs e) { if (PW.Text == "Password") { PW.Clear(); PW.ForeColor = Color.Black; } // if (PW.Text == "Password") //PW.UseSystemPasswordChar = false; //else PW.UseSystemPasswordChar = true; }