public CrosswordVM() { crosswordService = new CrosswordService(); CluesAcross = new List <string>(); CluesDown = new List <string>(); CheckCrosswordCommand = new DelegateCommand(() => CheckCrossword()); SolveCrosswordCommand = new DelegateCommand(() => SolveCrossword()); crossword = crosswordService.ReadFromFile(); InitializeGrid(); }
public FileWordSource(string filename) { this.filename = filename; crosswordService = new CrosswordService(); //crosswordService.GetCrossword(5,5, GetWords(2)); }