|Subject:||[DotGNU] System.Windows.Forms question|
|Date:||Mon, 2 May 2005 21:25:22 -0700|
My name is Duck and I am a complete newbie. I am taking a C# class and trying really hard to use my Mac to compile the code instead of the MS IDE.
I can get console apps to compile and run no problem, but I can not get any forms to compile. Even with this simple code from my text:
static void Main( string args )
MessageBox.Show( "Welcome\nto\nC#\nprogramming!" );
I get this error:
Ducks-Computer:~ duck$ cscc -o example.exe example.cs
example.cs:8: `MessageBox' is not declared in the current scope
example.cs:8: called object is not a method or delegate
If this is the inappropriate forum for asking these types of elementary questions, a point in the right direction would be appreciated.
10010 North Torrey Pines Road
La Jolla, CA 92037-1099
|[Prev in Thread]||Current Thread||[Next in Thread]|