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(); }
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(); }