コード例 #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);
        }
コード例 #2
0
ファイル: TestModel.cs プロジェクト: Wun-YI/windows_design
 /// <summary> 初始化 </summary>
 public TestModel(DictionaryModel dictionaryModel)
 {
     this._dictionaryModel = dictionaryModel;
     dictionaryModel.ReadFile(@"EnglishWord.txt");
 }