Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Properties on Controls in Inherited Forms
Message
De
27/10/2003 16:08:53
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00842236
Message ID:
00843256
Vues:
26
Morgan,

Thanks so much for all of your help but I’m just not getting it.

I have heard twice that when an object, textbox, button etc is dragged from the toobar to a window’s form that by default the control is private to the form. Therein lies my problem. If I create a new form inheriting from this form with it’s controls then because the controls where private when dragged onto the first form their properties can not be changed in the new form.

Where and how, in the base class form code, do I override this .Net default behavior and make a control on the form public so it’s properties can be changed in the inheriting form? The only place I see any generated code is in the “Windows Form Designer Generated Code” and I don’t see any code instantiating the controls.


Terry Carroll
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform