[Mono-list] Buggy Windows.Forms

Jonathan S. Chambers Jonathan.Chambers at ansys.com
Fri May 26 10:34:00 EDT 2006


Here is a brief description/history of System.Windows.Forms in mono:
http://www.mono-project.com/WinForms

Here is how to checkout sources: http://www.mono-project.com/AnonSVN

Here is the System.Windows.Forms sources:
http://svn.myrealbox.com/viewcvs/trunk/mcs/class/Managed.Windows.Forms/

Thanks,
Jonathan

> -----Original Message-----
> From: mono-list-bounces at lists.ximian.com [mailto:mono-list-
> bounces at lists.ximian.com] On Behalf Of Nikki Locke
> Sent: Friday, May 26, 2006 10:30 AM
> To: mono-list at lists.ximian.com
> Subject: Re: [Mono-list] Buggy Windows.Forms
> 
> Robert Jordan wrote:
> > Nikki Locke wrote:
> > > I am a late arrival to a project trying to do serious work with
Mono.
> It
> > > has been accepted since before I arrived that Mono's Windows.Forms
was
> > > buggy, and its use should be kept to a minimum.
> >
> > SWF is under heavy development. Therefore, the developer who arrived
> > is using SVN head :-)
> 
> That's good news - I guess things will improve rapidly then.
> 
> > > Therefore, the application has a single Canvas on which it does
all
> its
> > > GUI. Windows.Forms is only used to get keyboard and paint
messages.
> > >
> > > Recently we have discovered that Application.Exit doesn't always
exit
> - the
> > > window goes away, but mono doesn't terminate. As this is a
critical
> > > application which must be restarted immediately if it exits, this
is
> the
> > > last straw.
> >
> > Try Environment.Exit. Additionally, you may debug the application
> > like described here: http://www.mono-project.com/Debugging
> 
> Thanks - we're doing that (but it was making us uncomfortable, along
with
> all
> the other problems we are getting).
> 
> > > I have been asked to look into the possibility of doing away with
> > > Windows.Forms altogether.
> > >
> > > Windows.Forms is clearly an interface between the application and
GTK.
> > > Would it be reasonably easy to bypass Windows.Forms, and use the
> existing
> > > GTK interface instead?
> >
> > SWF is not based on GTK.
> 
> Ah, I see. Is it based on anything I can usefully get at?
> 
> > Anyhow, here you go: http://www.mono-project.com/GtkSharp
> 
> Thanks again. Will discuss this with the boss.
> 
> I must say, Mono may have more obvious bugs than .NET, but it has a
_very_
> helpful developer community!
> 
> --
> Nikki Locke, Trumphurst Ltd.      PC & Unix consultancy & programming
> http://www.trumphurst.com/
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list




More information about the Mono-list mailing list