Exemple #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            WordDictionary wordDic = new WordDictionary();
            wordPerMinute  wpm     = new wordPerMinute();

            Application.Run(new typingTest(wordDic, wpm));
        }
Exemple #2
0
 public typingTest(WordDictionary source, wordPerMinute source2) //constructor that requires the word dictionary
 {
     wordDic = source;
     wpm     = source2;
     InitializeComponent();
 }