コード例 #1
0
 public FormTest()
 {
     InitializeComponent();
     addWordsToRichTextBoxForWords(10);
     labelTime.Text = typingTest.TimeToString();
     toolTipForTyping.SetToolTip(this.pictureBoxRestartTest, "Restart Test");
 }
コード例 #2
0
        private void RestartTest()
        {
            wordsArea    = new WordsArea();
            typingTest   = new TypingTest();
            IndexOfWord  = 0;
            wordIsActive = true;

            ResetTestInDesign();
            addWordsToRichTextBoxForWords(10);
            labelTime.Text = typingTest.TimeToString();
        }