Francois,
IContainer does the following things
a) Encapsulate and track zero or more components
b) Components can be visual or non-visual
ContainerControl does the following things
a) represents a control that can function as a container for other controls
b) provide a logical boundary for contained controls.
c) provides focus management. tracks active controls
d)captures TAB key to move to next control
--
Shak
(Houston)
"Francois Vanderseypen" <ne***********@hotmail.com> wrote in message
news:40*************************@posting.google.co m...
Why is it that the Form class does not implement the IContainer
interface? It inherits from ContainerControl but components are
attached to the 'components' field via the generated
private System.ComponentModel.Container components = null;
statement. Said differently, when should I implement the IContainer
interface?
Thanks a lot!
Swa.
http://netron.sf.net/