示例#1
0
 private void InitializeTree(SuDoXml doXml)
 {
     SudoExercise[] cises = doXml.SelectExercises(SudoDifficulty.Easy);
     foreach (var item in cises)
     {
         ExerciseNode node = new ExerciseNode();
         node.Exercise = item;
         node.Text     = item.SingleExercise;
         this._ExerciseTree.Nodes.Add(node);
     }
 }
示例#2
0
 private void InitializeTree(SuDoXml doXml)
 {
     SudoExercise[] cises = doXml.SelectExercises(SudoDifficulty.Easy);
     foreach (var item in cises)
     {
         ExerciseNode node = new ExerciseNode();
         node.Exercise = item;
         node.Text = item.SingleExercise;
         this._ExerciseTree.Nodes.Add(node);
     }
 }