コード例 #1
0
 public void InitializeNew()
 {
     _currentControl.EnableButton("_nextbutton");
     _currentControl.setQuestionString(QABot.GetQuestion(QABot.ExerciseCount, QABot.QuestionCount));
     _currentControl.DisableButton("_submitBtn");
     _currentControl.setAnswerString(QABot.GetCorrectAnswer(QABot.ExerciseCount, QABot.QuestionCount));//remember to remove.
 }
コード例 #2
0
 public void InitializeNew()
 {
     _currentControl.EnableButton("_nextbutton");
     _currentControl.setQuestionString(QABot.GetQuestion(QABot.ExerciseCount, QABot.GetNextFailedQuestion(0)));
     _currentControl.DisableButton("_submitBtn");
     if (LoadNewQuestion(QABot.GetNextFailedQuestion(0)))
     {
         MessageBoxHelper.Info(_currentControl, "Saved data has been loaded");
     }
     //_currentControl.setQuestionString(QABot.GetQuestion(QABot.ExerciseCount, QABot.QuestionCount));
 }