Beispiel #1
0
        private bool validation()
        {
            BulletedList_InfoFeedBack.Items.Clear();

            if (!ValidationTools.chequeDestination(TextBox_Destination.Text))
            {
                BulletedList_InfoFeedBack.Items.Add("Invalid Destination");
                return(false);
            }
            if (!ValidationTools.chequeTime(TextBox_Hour.Text, TextBox_Minute.Text))
            {
                BulletedList_InfoFeedBack.Items.Add("Invalid Time");
                return(false);
            }
            return(true);
        }