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

Jonathan Pryor jonpryor@vt.edu
26 Jun 2003 10:34:26 -0400


Sorry.  I missed the "mono + Win2k" part of your message.

You're correct.  Under Windows, you wouldn't need Wine, so I would
imagine it would work, though you may encounter some areas where Mono's
System.Windows.Forms implementation is incomplete.

 - Jon

On Thu, 2003-06-26 at 10:26, Urs Muff wrote:
> 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    	- 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
> > 
> > It should be noted that even after you get your application compiled, it
> > won't run correctly.
> > 
> > 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:
> > 
> > 	http://lists.ximian.com/archives/public/mono-list/2003-
> > May/014079.html
> > 
> > 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.
> > 
> > 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/
> > 
> > Note that the alternatives are also incomplete (but still being worked
> > on), but are likely more complete than System.Windows.Forms.
> > 
> >  - Jon
> > 
> > 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 = 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
> > 
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list