public MainWindow()
        {
            InitializeComponent();
            txt_chars = new TextBox[] { txt_char1, txt_char2, txt_char3, txt_char4, txt_char5, txt_char6, txt_char7, txt_char8 };
            contr     = new WordController();
            ScoringHandler sc = new ScoringHandler("ScoringHandler.xml");

            Word.setScoringHandler(sc);
            //contr.downloadDictionary(ProgramTech.Language.EN, "https://raw.githubusercontent.com/dwyl/english-words/master/words.txt");
            contr.downloadDictionary(ProgramTech.Language.EN, "http://www.mieliestronk.com/corncob_lowercase.txt");
        }
Exemple #2
0
 static public void setScoringHandler(ScoringHandler sc)
 {
     scoringHandler = sc;
 }