Visual Inheritance Context Menu Bug?
C#
1
Posts
1
Posters
0
Views
1
Watching
-
I want to use VI in a context menu, but it doesn't seem to work. In my base class I have a context menu, which is set to protected. In my derived class designer, I can see the context menu and add things to it. When I compile the code and show the context menu, only the original items appear. In the derived class' InitializeComponent function, I can see the new menu item being created, but it never gets attached to the base class context menu. Is this a bug in VS2005? I can bypass this problem by desiging a seperate context menu and adding it to the base class during the constructor, but it doesn't feel quite right to me. Am I doing something else wrong? Neil No sharp objects, I'm a programmer.