Пример #1
0
 private void FixQuestionType()
 {
     if (!questionType.IsSubsetOf(baseQuestionType))
     {
         QuestionType = baseQuestionType;
     }
 }
Пример #2
0
        private void ReenableButtons()
        {
            foreach (DictionaryEntry entry in radioButtonToQuestionType)
            {
                RadioButton  rb = (RadioButton)entry.Key;
                QuestionType qt = (QuestionType)entry.Value;

                rb.Enabled = qt.IsSubsetOf(baseQuestionType);
            }
        }