static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); WordDictionary wordDic = new WordDictionary(); wordPerMinute wpm = new wordPerMinute(); Application.Run(new typingTest(wordDic, wpm)); }
public typingTest(WordDictionary source, wordPerMinute source2) //constructor that requires the word dictionary { wordDic = source; wpm = source2; InitializeComponent(); }