[Mono-list] System.Windows.Forms Form ?

Urs Muff umuff@quark.com
Thu, 26 Jun 2003 08:26:34 -0600


Why do you need wine on windows [and how do you get it running anyway, =
since
the description is just for Linux as far as I know]?  That doesn't make
sense to me [call me ignorant].

- URS C. MUFF
SOFTWARE ARCHITECT	- RESEARCH LAB
QUARK INC.
UMUFF@QUARK.COM=A0=A0=A0=A0	- X6360
+1 (303) 894 3360

CONFIDENTIALITY NOTICE

This e-mail transmission and any documents, files, or previous e-mail
messages appended or attached to it, may contain information that is
confidential or legally privileged. If you are not the intended =
recipient,
or a person responsible for delivering it to the intended recipient, =
you are
hereby notified that you must not read this transmission and that any
disclosure, copying, printing, distribution, or use of the information
contained or attached to this transmission is STRICTLY PROHIBITED. If =
you
have received this transmission in error, please immediately notify the
sender by telephone +1 (303) 894-3360 or return e-mail message
umuff@quark.com and delete the original transmission, its attachments, =
and
any copies without reading or saving in any manner. Thank you.


> -----Original Message-----
> From: Jonathan Pryor [mailto:jonpryor@vt.edu]
> Sent: Thursday, June 26, 2003 8:17 AM
> To: Aleksey Ryabchuk
> Cc: Mono List
>=20
> It should be noted that even after you get your application compiled, =
it
> won't run correctly.
>=20
> At present, in order to run Windows.Forms apps, you need a
> specially-compiled version of Wine installed.  The standard Wine will
> not work with Mono.  See:
>=20
> 	http://lists.ximian.com/archives/public/mono-list/2003-
> May/014079.html
>=20
> Please note that Mono's System.Windows.Forms implementation is not
> complete yet, so there are likely to be programs that won't run under
> Mono at this time.
>=20
> Alternatives to System.Windows.Forms include:
>   - Gtk#: http://www.go-mono.com/gtk-sharp.html
>   - Qt#: http://qtcsharp.sourceforge.net/
>   - SharpWT: http://www.sharpwt.net/OpenSource/SharpWT/
>=20
> Note that the alternatives are also incomplete (but still being =
worked
> on), but are likely more complete than System.Windows.Forms.
>=20
>  - Jon
>=20
> On Thu, 2003-06-26 at 07:04, Aleksey Ryabchuk wrote:
> > Hello Daniel,
> >
> > You need to reference System.Windows.Forms assembly
> > from cmd line :
> >
> > mcs -r:System.Windows.Forms.dll mywinapp.cs
> >
> > Regards
> > Aleksey
> >
> > --- Daniel Stutz <daniel.stutz@aplysia.ch> wrote:
> > > Hello folks
> > >
> > > I'm new to the group of C#-developers and tried to
> > > use
> > > mono und Win2k.
> > >
> > > First I did a simple console application, which
> > > compiled
> > > without problems.
> > >
> > > Then I found an example for a form based application
> > > on the
> > > O'Reilly Network.
> > >
> > > (mywinapp.cs):
> > > using System;
> > > using System.Windows.Forms;
> > >
> > > namespace myprogs
> > > {
> > >   public class MyWinApp: Form
> > >   {
> > >     public static void Main(string[] args)
> > >     {
> > >       MyWinApp form =3D new MyWinApp();
> > >       Application.Run(form);
> > >     }
> > >   }
> > > }
> > >
> > > When I try to compile the example, the followig
> > > errors
> > > are reported by mcs:
> > > mywinapp.cs(6) error CS0246: Cannot find type `Form'
> > > mywinapp.cs(2) error CS0246: The namespace
> > > `System.Windows.Forms' can
> > > not be found (missing assembly reference?)
> > > Compilation failed: 2 error(s), 0 warnings
> > >
> > > I've downloaded and installed mono with the setup
> > > program from the
> > > download section (mono-0.24-win32-1.exe).
> > >
> > > Whats wrong ?
> > > Who can help me ?
> > >
> > > Thanks
> > > Dani
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > SBC Yahoo! DSL - Now only $29.95 per month!
> > http://sbc.yahoo.com
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
>=20
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list