Hi, I want to add some custom functionality to all my Controls AND my Forms. I have created a class MyControl, and there's no problem just doing:
MyControl : Control
and then letting my controls inherit from MyControl.
However, I want my forms to have the same functionality, and because Form inherits from ContainerControl, Scrollable Container, and THEN Control, I would have to create my own versions of all of these to make it use MyControl, which seems inefficient.
Is there any way around this? I can't use an interface, and I don't want to create a copy of the class called MyForm with the same functionality as MyControl