Exemple #1
0
        /// <summary>
        /// Occurs when the user leaves the Adress field.
        /// </summary>
        /// <param name="sender">The object sender</param>
        /// <param name="e">The event args</param>
        private void registerAdressBox_Leave(object sender, EventArgs e)
        {
            bool verify = RegisterVerification.AdressVerification(registerAdressBox.Text);

            ChangeBackColorTextBox(registerAdressBox, verify);
            _isAdressOk = verify;
        }
 /// <summary>
 /// Checks if adress is ok on leave
 /// </summary>
 /// <param name="sender">The object sender</param>
 /// <param name="e">The event args</param>
 private void addressBox_Leave(object sender, EventArgs e)
 {
     addressOk = RegisterVerification.AdressVerification(addressBox.Text);
     DefaultTextBox_Leave(addressBox, addressOk);
 }
 public bool AdressVerification_CheckInput(string adress)
 {
     return(RegisterVerification.AdressVerification(adress));
 }