Example #1
0
 private void ProgressWord()
 {
     if (!_testManager.IsLastWord())
     {
         _userEntryText = string.Empty;
         _testManager.AdvanceWord();
         _completedWords += 1;
         NextWord.Invoke(this, new WordEventArgs(_testManager.GetRemainingWords()));
     }
     else
     {
         // The user has typed all words from the sample text, and the test has ended.
         TestEnded();
     }
 }
Example #2
0
        private void ExecutePythonToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NextWord next = new NextWord();

            next.ShowDialog();
        }