Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inherited Form
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Divers
Thread ID:
01251758
Message ID:
01252193
Vues:
23
I just created a new Win Form; inheriting from Form. Then changed it to inherit from my base form. I'm getting the same behavior.

I can change properties progmatically; at least it will build the project.

>Dan,
>
>>I have a form with a table layout panel, a couple of lables, textboxes and a button. All the controls are "PROTECTED".
>>
>>I'm adding an inherited form to my project that inherits from the above form. In the new form, I cannot change any properties on the existing controls. I've done this multiple times with other inherited forms, but for some reason, cannot on this form. Even if I go to the base form and mark everything as "PUBLIC", I cannot modify any of the existing controls.
>
>Hmmm...that should definitely work! I take it you've tried to create a new subclassed form from scratch. When you set the base class form properties to public does it still show the "protected" or "private" icons next to the controls in the subclassed form? Does it let you change them programmatically?
>
>Best Regards,
Thanks,
Dan Jurden
djurden@outlook.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform