[Mono-list] Windows Forms...wah

Rodrigo Moya rodrigo@ximian.com
20 Sep 2002 19:44:03 +0200


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>