Exemplo n.º 1
0
        /// <summary>
        /// Verification function for the Register CPR input
        /// </summary>
        /// <param name="sender">The object sender</param>
        /// <param name="e">The Event args</param>
        private void registerCprBox_Leave(object sender, EventArgs e)
        {
            //Check if CPR is already in SQL - Error message: CPR already exists!
            bool verify = RegisterVerification.CPRVerification(registerCprBox.Text);

            ChangeBackColorTextBox(registerCprBox, verify);
            _isCprOk = verify;
        }
 public bool CPRVerification_CheckInput(string cpr)
 {
     return(RegisterVerification.CPRVerification(cpr));
 }