[Mono-list] Some general advice for a newbie, please

peter apvx95@dsl.pipex.com
Fri, 31 Dec 2004 16:36:25 +0000


See below:

Paul wrote:

>SWF = System.Windows.Forms
>
>  
>
I was just a little slow there, I'm afraid.

>>Perhaps we should go back a step.  What do I have to do to get a simple 
>>program working that puts up a MessageBox with a message in it?
>>    
>>
>
>using System;
>using System.Windows.Forms;
>
>namespace WelcomeGUI
>{
>   class Welcome4
>   {
>      static void Main( string[] args )
>      {
>         MessageBox.Show( "Welcome\nto\nC#\nprogramming!" );
>      }
>   }
>}
>
>mcs hello.cs -r:System.Windows.Forms
>mono hello.exe
>
>This works fine with the current developer version. It will probably not
>work with winelib SWF.
>  
>
You're right.  It doesn't, but OK.  Thanks.  I'll go and try the current 
developer version.

Cheers

Peter