private void SetOffErrMsg()
 {
     LabelErrMsg.Visible        = false;
     LabelErrorCode.Visible     = false;
     TextBoxFirstName.ForeColor = Color.Black;
     TextBoxLastName.ForeColor  = Color.Black;
     TextBoxInsured.ForeColor   = Color.Black;
     TextBoxZodiac.ForeColor    = Color.Black;
     TextBoxInsured.Focus();
 }
        private bool CheckAllFields()
        {
            ErrMsg errMsg;

            errMsg = Check.CheckField(FieldName.IsInsured, TextBoxInsured.Text);
            if (errMsg.ErrorId != "00")
            {
                SetOnErrMsg(errMsg);
                TextBoxInsured.Focus();
                TextBoxInsured.ForeColor = Color.Red;
                return(false);
            }

            errMsg = Check.CheckField(FieldName.FirstName, TextBoxFirstName.Text);
            if (errMsg.ErrorId != "00")
            {
                SetOnErrMsg(errMsg);
                TextBoxFirstName.Focus();
                TextBoxFirstName.ForeColor = Color.Red;
                return(false);
            }

            errMsg = Check.CheckField(FieldName.LastName, TextBoxLastName.Text);
            if (errMsg.ErrorId != "00")
            {
                SetOnErrMsg(errMsg);
                TextBoxLastName.Focus();
                TextBoxLastName.ForeColor = Color.Red;
                return(false);
            }

            // Sterrenbeeld moet kloppen:

            errMsg = Check.CheckField(FieldName.Zodiac, TextBoxZodiac.Text);
            if (errMsg.ErrorId != "00")
            {
                SetOnErrMsg(errMsg);
                TextBoxZodiac.Focus();
                TextBoxZodiac.ForeColor = Color.Red;
                return(false);
            }

            return(true);
        }