[Mono-list] Windows Forms...wah

fssc hsauro@fssc.demon.co.uk
Fri, 20 Sep 2002 08:06:16 -0700


Many of use I'm sure come from visual ide development environments and
sometimes we just like to populate a drop down list visually, could one do
this with a MVC approach?

Herbert

----- Original Message -----
From: "Rodrigo Moya" <rodrigo@ximian.com>
To: "fssc" <hsauro@fssc.demon.co.uk>
Cc: "Mono List" <mono-list@ximian.com>
Sent: Friday, September 20, 2002 10:44 AM
Subject: Re: [Mono-list] Windows Forms...wah


> On Fri, 2002-09-20 at 06:00, fssc wrote:
> > When you talk about model/controller classes would implement a list box
say
> > as two separate entities, one to display the data and another to store
the
> > data? If so please don't, or at least give the option to go either your
way
> > or as they have now. It's all very well bringing in comp sci ideas like
this
> > but sometimes they just get in the way when you just want a list box
that
> > displays, say the days of the week.
> >
> then, you just have to write:
>
> ListBox lb = new ListBox (new ListModel ("Monday", "February", ...);
>
> but still have the model/view/controller separation, which is very nice
> for a lot of things.
>
> cheers
> --
> Rodrigo Moya <rodrigo@ximian.com>
>
>