Are there errors in any (all?) of those files? What version of the .NET Framework are you compiling against? Is it a Windows Forms Project, or a Control Library project (what this boils down to: did you reference System.Windows.Forms?). Can you post ALL of the errors here?