[Mono-winforms-list] Running winforms on Linux

TP-Software tpsoftware@users.sourceforge.net
Wed, 15 Oct 2003 17:10:47 +0200


The code is incorrect I'm afraid.

You see

it should be

using System;
using System.Windows.Forms;

For some more examples please visit:
http://www.nullenvoid.com/mono/wiki/index.php/WineSamples
(With Internet Explorer you will have to press F5 to reload the page when
you get a rather strange error message)

I do suggest you take a look at them first.

Timothy.


----- Original Message ----- 
From: "Arnoux Vincent" <varnoux@atmel.fr>
To: <mono-winforms-list@lists.ximian.com>
Sent: Wednesday, October 15, 2003 5:02 PM
Subject: Re: [Mono-winforms-list] Running winforms on Linux


> I already have it installed, but it doesn't work.
> If I write the following:
> /using System;
> using System.WinForms;
>
> public class TempConverter : System.WinForms.Form {
>
>
>    public TempConverter() {
>    }
>
>    public static void Main() {
>       Application.Run( new TempConverter() );
>    }
>
> }/
>
> And try to compile it with:
> mcs -o test3.exe test3.cs
>
> I will get:
> test3.cs(4) error CS0246: Cannot find type `System.WinForms.Form'
> Compilation failed: 1 error(s), 0 warnings
>
> Do I here have to specified that it must use mono-wine ?
>
> Vincent
>
>
>
> TP-Software a écrit :
>
> >>Hello List,
> >>I want to use winforms under Linux, through wine.
> >>Do I need to have Windows 2000/XP installed, or can I do it with my
> >>win98 drive ?
> >>
> >>
> >You don't need a windows install to get Windows.Forms running on Linux.
> >
> >
> >
> >>I know that you can create Winforms only by compiling under 2000/XP,
> >>
> >>
> >You can compile them under Linux with mcs just fine.
> >
> >
> >
> >
> >>can you do it with Mono from Linux using wine with a win98 simulated ?
> >>
> >>
> >>
> >Normally everything you need is included with the install packages.
> >
> >http://www.go-mono.com/download.html
>
>http://www.nullenvoid.com/mono/wiki/index.php/MonoWinePackages?PHPSESSID=df
6e7ab4f4f8ffde26c84f208b1db66f
> >
> >
> >
> >
> >Timothy.
> >
> >
> >---
> >Outgoing mail is certified Virus Free.
> >Checked by AVG anti-virus system (http://www.grisoft.com).
> >Version: 6.0.524 / Virus Database: 321 - Release Date: 6/10/2003
> >
> >_______________________________________________
> >Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
> >http://lists.ximian.com/mailman/listinfo/mono-winforms-list
> >
> >
> >
> >
>
>
>
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.524 / Virus Database: 321 - Release Date: 6/10/2003