예제 #1
0
        private void txtPassword_Enter(object sender, EventArgs e)
        {
            TextBox txtInput = (TextBox)sender;

            formMain.RemoveGrayText(txtInput);
            txtInput.PasswordChar = '•';
        }
예제 #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);
 }