Home All Groups Group Topic Archive Search About
Author
12 Feb 2007 4:42 PM
Mike C
(This is being reposted from the CompactFramework group because I
don't belive the situation is specific to CF).

I am creating a CF application using VB.Net 2.0 and VS2005.
I am trying to create a heirarchy of controls to give my application
a
common look and feel.

Here is what I have so far:


public class ctrlBase inherits UserControl


public class tabBase inherits ctrlBase


public class pageMain inherits tabBase


When working with tabBase, I can correctly see the formatting and
controls on ctrlBase, and then add controls that should be accessable
to all decendants to tabBase.  However, when I go into the designer
for pageMain, instead of seeing the controls from tabBase, I am again
presented with ctrlBase and its controls.


Is there some setting I need to make to allow inheritance deeper than
one level?


I appreciate any help you can offer.


Mike

AddThis Social Bookmark Button