private void UserPassWord_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { UserPassWordConfirm.Focus(); } }
private void UserPassWordConfirm_TextChanged(object sender, EventArgs e) { if (UserPassWord.Text != UserPassWordConfirm.Text) { //PDoneC.SendToBack(); PUnCorrect1.Visible = true; UserPassWordConfirm.Focus(); } else { PUnCorrect1.Visible = false; PDoneC.Visible = true; } }
private void UserPassWordConfirm_EditValueChanging(object sender, DevExpress.XtraEditors.Controls.ChangingEventArgs e) { if (UserPassWord.Text != UserPassWordConfirm.Text) { //PDoneC.SendToBack(); PUnCorrect1.Visible = true; UserPassWordConfirm.Focus(); } else { PUnCorrect1.Visible = false; PDoneC.Visible = true; } }