Re: Alternative to Windows.Forms

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Tommy Carlier (tommy.carlier_at_telenet.be)
Date: 11/17/04


Date: 17 Nov 2004 01:45:25 -0800

Doug Holton <insert@spam.here> wrote in message news:<x6GdnezbarxCrgfcRVn-1w@comcast.com>...
> Tommy Carlier wrote:
> > I'm curious: has anyone ever created an alternative for Windows Forms?
> > Maybe a more lightweight GUI library that replaces Windows Forms for
> > the .NET Framework?
>
> There are others like GTK#, WX.NET, QT#, FLTK.NET. I'm assuming by
> lightweight you mean simpler to use (instead of lightweight like java's
> swing). None of the other gui toolkits are simpler to use than
> Windows.Forms though. They do work on other platforms besides Windows.
>
> GTK# starter resources:
> http://www.go-mono.com/gtk-sharp.html
> http://www.oreillynet.com/pub/wlg/5390
> http://www.onlamp.com/pub/a/onlamp/excerpt/MonoTDN_chap1/?page=last
>
> One thing that makes it harder is the programming language. You might
> check out boo, which is simple to use like python, but works for .NET:
> http://boo.codehaus.org/
> Here's a sample program:
>
> import System.Windows.Forms from System.Windows.Forms
>
> f = Form(Text: "Hello")
>
> b = Button(Text: "Click Me",
> Dock : DockStyle.Fill)
>
> b.Click += do ():
> print "clicked"
>
> f.Controls.Add(b)
> Application.Run(f)

I don't really need an alternative, I'm just curious how that would
work, how you could totally eliminate using the System.Windows.Forms
assembly and replace it with a different one. Thanks for the response,
I'll look into the possibilities.


Quantcast