private void txtPassword_Leave(object sender, EventArgs e) { if (formMain.CheckEmpty(txtPassword)) { txtPassword.PasswordChar = '\0'; } }
private void txtPassword_Leave(object sender, EventArgs e) { SaveData(sender, e); TextBox txtInput = (TextBox)sender; if (formMain.CheckEmpty(txtInput)) { txtInput.PasswordChar = '\0'; } }
private void txt_Leave(object sender, EventArgs e) { formMain.CheckEmpty((TextBox)sender); }