Esempio n. 1
0
        /// <summary> 設定Questio </summary>
        public void SetQuestion()
        {
            Word            word            = new Word(ConstantWord.CHINESE, ConstantWord.ENGLISH);
            DictionaryModel dictionaryModel = new DictionaryModel();

            dictionaryModel.ReadFile(ConstantWord.ENGLISH_WORD);
            TestModel testModel = new TestModel(dictionaryModel);
        }
Esempio n. 2
0
 /// <summary> 初始化 </summary>
 public TestModel(DictionaryModel dictionaryModel)
 {
     this._dictionaryModel = dictionaryModel;
     dictionaryModel.ReadFile(@"EnglishWord.txt");
 }