You probably need to add the following to the list of USING statements at the top of the file: USING System.Windows.Forms.*. Continue reading...