public Main(IWordBank <Question> wordBank , SpeechSynthesizer speechSynthesizer) { _wordBank = wordBank; _speechSynthesizer = speechSynthesizer; InitializeComponent(); DisableIfNoAudio(); PronounceWord(); FocusToAnswerTextBox(); UpdateQuestionCountLabel(); _wordBank.IsEmpty += OnWordBankEmpty; }
public Functions(IWordRepository wordRepository, IWordBank wordBank) { _wordRepository = wordRepository; _wordBank = wordBank; }