[Mono-winforms-list] Moving Items property into ListControl

Dennis Hayes DENNISH@Raytek.com
Thu, 21 Aug 2003 14:25:16 -0700


I do not know enough about this to say, except:
1) Yes, mark the flag as internal, since it is implementation, not part of
the spec.
2) Instead of using a flag, could you just check to see if the datasouce is
null?
Dennis



-----Original Message-----
From: Brian Takita [mailto:brian.takita@runbox.com] 
Sent: Thursday, August 21, 2003 1:16 PM
To: Dennis Hayes
Cc: mono-winforms-list@lists.ximian.com
Subject: [Mono-winforms-list] Moving Items property into ListControl

Dennis,

I made a revision to the ListControl.

I made the DataSource virtual so the ComboBox and ListBox can override 
the DataSource.
When a DataSource is added, we can fill the Items_  ObjectCollection and 
set an internal flag to not accept any inputs from Items.Add().
When DataSource is set to null, the internal flag will be set to accept 
inputs from Items.Add().

How does this sound?

Brian