Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inheriting from an MDIParent Form
Message
De
02/09/2006 13:03:36
 
 
À
02/09/2006 12:56:56
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
01150477
Message ID:
01150512
Vues:
22
Sarosh,

I assume the problem is that you can't access your components from the Property Sheet? You'd see, if you tried to access them in code, that everything would work fine.

Try this: anything that needs to be accessible from the Property Sheet, make them actual *properties* (with get/set methods). That should help.

~~Bonnie



>Hi!
>
>All the components have their access modifier property set to Public also tried all the other possible options but no luck.
>
>Sarosh
>
>>Take a look at the access modifier property of your main form. It is probably set to private. In order for those fields to be available in a sub-class, I think you need to set it to protected or public.
>>
>>
>>
>>
>>>Hi!
>>>
>>>When I inherit an MDI Parent Form from a DLL (another project of mine like a base class library) all its components (Menu, Toolbar, BindingNavigator etc) become readonly not sure why?
>>>
>>>What am I doing wrong here.
>>>
>>>Sarosh
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform