Beispiel #1
0
 public CreatingTestForm(ref LogicModel logicModel, EditingModeForm form)
 {
     _form       = form;
     _logicModel = logicModel;
     _logicModel.TryAddTest(
         "Новый тест",
         new Question[]
     {
         new Question("Новый вопрос",
                      new Answer[] { new Answer("Новый ответ", false) }
                      , 0)
     });
     _index = _logicModel.Author.GetTests.Length - 1;
     InitializeComponent();
     SetSource();
 }