microsoft public dotnet framework windowsforms Inheritance in forms which

Reviews
Shared by: One Man
Stats
views:
6
rating:
not rated
reviews:
0
posted:
2/26/2009
language:
English
pages:
0
microsoft.public.dotnet.framework.windowsforms: Inheritance in forms which inherit template forms Inheritance in forms which inherit template forms Source: http://www.tech−archive.net/Archive/DotNet/microsoft.public.dotnet.framework.windowsforms/2005−01/0039.html From: michael (howlinghound_at_nospam.nospam) Date: 01/02/05 Date: Sun, 2 Jan 2005 10:17:03 −0800 I have this "template" form which is based on System.Windows.Forms.Form. I created a new form(the derived form) which inherits this form. I have observed that if, at runtime, I run through all of the controls in the controls collection of the "template" form, I can have access to all the controls that exist in the derived form! Now this seems odd to me; why should a base class have the controls of a class above it (the derived form), in its controls collection. Certainly I would expect the class derived from the template to see all the controls on the base class but not the other way around. −− Michael Hockstein Inheritance in forms which inherit template forms 1

Related docs
premium docs
Other docs by One Man
de131
Views: 103  |  Downloads: 0
Condition of receiver
Views: 193  |  Downloads: 1
dv125v
Views: 117  |  Downloads: 0
Ghen v Rich
Views: 329  |  Downloads: 2
Shout to the Lord
Views: 265  |  Downloads: 3
Ayers J STarasoff
Views: 191  |  Downloads: 1
Surround Us
Views: 253  |  Downloads: 1
Still
Views: 500  |  Downloads: 2
Causes showing authority to give consent
Views: 236  |  Downloads: 3
O brien Mohr Hackburt - Briefs
Views: 309  |  Downloads: 0
Deep Calls to Deep
Views: 168  |  Downloads: 0
English-Chinese Glossary of Legal Terms
Views: 1474  |  Downloads: 25
Future Possessory Interests
Views: 157  |  Downloads: 0
Exercise for Your Bone Health
Views: 300  |  Downloads: 8
Learning 1
Views: 397  |  Downloads: 4