Exemple #1
0
 /// <summary>
 /// Come to the next theme in DataTreeView
 /// </summary>
 /// <param name="nameOfTheCurrentTheme"></param>
 private void nextTheme(string nameOfTheCurrentTheme)
 {
     if (currentPracticeProblemName == "escape")
     {
         Interpreter.nextTheme(currentProblemName);
         setCurrentProblem(currentProblemName);
     }
     else
     {
         Interpreter.nextTheme(currentPracticeProblemName);
         setCurrentPracticeProblem(currentPracticeProblemName);
     }
     if (isCodeLighted)
     {
         CodingRTB.SuspendLayout(); text_Lightout(); CodingRTB.ResumeLayout();
     }
 }