private void FixQuestionType() { if (!questionType.IsSubsetOf(baseQuestionType)) { QuestionType = baseQuestionType; } }
private void ReenableButtons() { foreach (DictionaryEntry entry in radioButtonToQuestionType) { RadioButton rb = (RadioButton)entry.Key; QuestionType qt = (QuestionType)entry.Value; rb.Enabled = qt.IsSubsetOf(baseQuestionType); } }