Esempio n. 1
0
        private void txtPassword_Enter(object sender, EventArgs e)
        {
            TextBox txtInput = (TextBox)sender;

            formMain.RemoveGrayText(txtInput);
            txtInput.PasswordChar = '•';
        }
Esempio n. 2
0
 private void txtUserName_Enter(object sender, EventArgs e)
 {
     formMain.RemoveGrayText(txtUserName);
 }
 private void txt_Enter(object sender, EventArgs e)
 {
     formMain.RemoveGrayText((TextBox)sender);
 }