G
Guest
When I create a new form a private member
System.ComponentModel.Container components
is created, and appears to be passed to the constructors of various things
like timers.
Can someone explain to me what the purpose of this is. It seems to have
something to do with the Dispose method. If I create (say) a timer manually
in the code and don't pass the components object in the constructor
everything still seems to work OK.
System.ComponentModel.Container components
is created, and appears to be passed to the constructors of various things
like timers.
Can someone explain to me what the purpose of this is. It seems to have
something to do with the Dispose method. If I create (say) a timer manually
in the code and don't pass the components object in the constructor
everything still seems to work OK.