Beispiel #1
0
        private void btnGo_Click(object sender, EventArgs e)
        {
            //call error checking method
            validation();

            if (errProvider.GetError(lstRoles).Length != 0)
                return;
            if (errProvider.GetError(txtQuestions).Length != 0)
                return;
            if (errProvider.GetError(grpDuration).Length != 0)
                return;

            //open the student view form
            RounderStudentView rounderSV = new RounderStudentView();
            rounderSV.populate(loadRounderObject());
            rounderSV.Show();
        }
Beispiel #2
0
        private void btnGo_Click(object sender, EventArgs e)
        {
            //call error checking method
            validation();

            if (errProvider.GetError(lstRoles).Length != 0)
            {
                return;
            }
            if (errProvider.GetError(txtQuestions).Length != 0)
            {
                return;
            }
            if (errProvider.GetError(grpDuration).Length != 0)
            {
                return;
            }

            //open the student view form
            RounderStudentView rounderSV = new RounderStudentView();

            rounderSV.populate(loadRounderObject());
            rounderSV.Show();
        }