示例#1
0
文件: Test.cs 项目: iv22/Dictionary
 public Test(MyDictionary dictionary, TestTimings timing, TestPriorities priority, int WordCount)
 {
     this._dictionary = dictionary;
     this.timing = timing;
     this.priority = priority;
     this.wordCount = WordCount;
     this.selectedWords = new List<Word>();
     this.wrongWords = new List<Word>();
     this.CurrentPart = null;
 }
示例#2
0
文件: Test.cs 项目: iv22/Dictionary
 public override void Reset(List<Word> selectedWords, List<Word> wrongWords, AddWrongWordDelegate wrongProcDelegate, ChangeTestStateDelegate changeStateDelegate, TestTimings timing)
 {
     this._selectedWords = new List<Word>(selectedWords);
     this.changeTestStateHandler = changeStateDelegate;
     this.changeTestStateHandler(TestStates.Ready);
 }
示例#3
0
文件: Test.cs 项目: iv22/Dictionary
 public override void Reset(List<Word> selectedWords, List<Word> wrongWords, AddWrongWordDelegate wrongProcDelegate, ChangeTestStateDelegate changeStateDelegate, TestTimings timing)
 {
     this._selectedWords = new List<Word>(selectedWords);
     this._selectedWords.AddRange(wrongWords);
     this._selectedWords = Test.GetShuffleWords(this._selectedWords);
     this._uncheckedWords = new List<Word>(this._selectedWords);
     this.addWrongWordHandler = wrongProcDelegate;
     this.timing = timing;
     this.changeTestStateHandler = changeStateDelegate;
     this.changeTestStateHandler(TestStates.Ready);
 }
示例#4
0
文件: Test.cs 项目: iv22/Dictionary
 public virtual void Reset(List<Word> selectedWords, List<Word> wrongWords, AddWrongWordDelegate wrongProcDelegate, ChangeTestStateDelegate changeStateDelegate, TestTimings timing)
 {
     this._selectedWords = new List<Word>(selectedWords);
     this.addWrongWordHandler = wrongProcDelegate;
     this.changeTestStateHandler = changeStateDelegate;
     this.changeTestStateHandler(TestStates.Working);
 }