A
arncota
Hi,
I created a UserControl, and created its UI with the designer. Next,
I wanted to create a subclass of that UserControl, with a new UI. But
when I open it in the designer, I see the UI components from the
parent class. When I step through the code, it looks like the
InitializeComponents of my base UserControl is getting called, and
then the version in my subclass.
Is there any way to prevent this? Is there a better way to create
subclasses of visual composition components?
I created a UserControl, and created its UI with the designer. Next,
I wanted to create a subclass of that UserControl, with a new UI. But
when I open it in the designer, I see the UI components from the
parent class. When I step through the code, it looks like the
InitializeComponents of my base UserControl is getting called, and
then the version in my subclass.
Is there any way to prevent this? Is there a better way to create
subclasses of visual composition components?