[Mono-winforms-list] Winforms and SuSE 9.1

PFJ paul@all-the-johnsons.co.uk
Thu, 01 Jul 2004 09:37:42 +0100


--=-y1ZStfqNNmLeVyWJdYfJ
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

> The simplest winforms program I tried, is only an empty window. But I got=
 the=20
> same result for every winforms program, it died.
>=20
> For example the output of the following command:
>=20
> mono -v swf-buttons.exe

The winforms namespace isn't yet up and running and there are problems
with putting text on labels or buttons, but an empty window should work
- it certainly does under FC 2.

Can you generate a messagebox without a problem?

The following works here under FC2

using System;
using System.Windows.Forms;

class Welcome
{
  static void Main(string [] args)
  {
     MessageBox.Show("Welcome\nto\nC# from\nXimian");
  }
}

mcs Welcome.cs -r System.Windows.Forms

That should generate a messagebox with an OK button.

TTFN

Paul
--=20
"If I face my God tomorrow, I can tell Him I am innocent.
I've never harmed anyone. I have cheated no one.=20
I have deceived no one. I have hurt no one.=20
Except myself. And that He will forgive me." - Hans Holzel

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

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

iD8DBQBA481WdhM/KdX2XRURAl8eAJ43z9XRTO1zh8d7qmtV+qUwmQ9EzwCfS8we
yiiFVqhehCWD89bY7Gu5iqY=
=nKaY
-----END PGP SIGNATURE-----

--=-y1ZStfqNNmLeVyWJdYfJ--