private bool AttemptProblemSetCreate(object sender) { if (ValidateFormData(sender)) // front-end data validation { ProblemSet newProblemSet = ConstructProblemSet(); // object construction MMControl.AddProblemSet(newProblemSet); // result returned to Control object return(true); } else { return(false); } }