Inheritance: System.Windows.Controls.StackPanel
        public void BuildQuestion(QLMemory memory, string name, string label, bool isComputed = false)
        {
            GUIQuestion guiQuestion = new GUIQuestion(memory, name, label, isComputed, _currentShowCondition, _guiQuestionnaire.Refresh);

            //set hide conditions
            _currentHideConditions.ForEach(guiQuestion.AppendHideCondition);

            _guiQuestionnaire.AddQuestion(guiQuestion);
        }
Esempio n. 2
0
 public void AddQuestion(GUIQuestion guiQuestion)
 {
     Children.Add(guiQuestion);
     guiQuestion.Render();
 }
 public void AddQuestion(GUIQuestion guiQuestion)
 {
     Children.Add(guiQuestion);
     guiQuestion.Render();
 }