G
Guest
I have created a ImageList instance in a base class that inherits from
usercontrol.
I next created a class that inherits from this base class that contains a
toolbar control that uses the ImageList.
From this class I have created several different classes that inherit from
this class and adds the toolbar as a control.
When you put one of these inherited classes in design mode, the imagelist is
being copied into the inherited class. This is causing the toolbar to not
display properly. Removing the code fixes the problem.
What is happening?
usercontrol.
I next created a class that inherits from this base class that contains a
toolbar control that uses the ImageList.
From this class I have created several different classes that inherit from
this class and adds the toolbar as a control.
When you put one of these inherited classes in design mode, the imagelist is
being copied into the inherited class. This is causing the toolbar to not
display properly. Removing the code fixes the problem.
What is happening?