: I've run into something similar in a practice project that I've done from my textbook. What I think
you need to do is reference System.Windows.Forms.dll. Something like this if you compile from the command line...
: csc /r:System.Windows.Forms.dll code1.cs code2.cs
: // In order for the compiler to resolve anything calling
: // the System.Windows.Forms.dll assembly, you must specify
: // it as a compiler option by referencing it
: csc /r:System.Windows.Forms.dll /out:TestApp.exe *.cs
: // the C# compiler does allow you to make use of the wildcard
: // character to inform csc.exe to add all *.cs files in the
: // current directory as part of the current build
: I hope that helps!
: Discipline - The desire to do the right thing in the absence of both leadership and consequence.
Thanks man.....that did help