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

Paul paul@all-the-johnsons.co.uk
Fri, 31 Dec 2004 16:27:27 +0000


--=-DGI6Dgj+ohqDScdF2gBj
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

> It's not me who's asking for winelib.  I'm just following the=20
> instructions - either in monodevelop or on the Borland site that the=20
> list was kind enough to refer me to.  And I'm afraid I don't even know=20
> what SWF is!  Sorry.

SWF =3D System.Windows.Forms

> Perhaps we should go back a step.  What do I have to do to get a simple=20
> 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.

TTFN

Paul
--=20
"He's not the Messiah, he's a very naughty boy!"
- Life of Brian, Monty Python

--=-DGI6Dgj+ohqDScdF2gBj
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBB1X3vusSVe5EZv3wRAoANAJ0cHAMHWuHIU4hK6Q8NLjX1MQmDzgCdELoc
YOySJ+7AS1NWMVQWLFX82MM=
=wPQT
-----END PGP SIGNATURE-----

--=-DGI6Dgj+ohqDScdF2gBj--