Пример #1
0
 private void UserPassWord_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         UserPassWordConfirm.Focus();
     }
 }
Пример #2
0
 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;
     }
 }
Пример #3
0
 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;
     }
 }