I'd like to be able to have a theme setting in my app where the user can choose a theme (Office2010Form, MetroForm) and a theme color(Blue, Black, Gray, etc).
The problem is that Office2010Form and MetroForm are separate classes and as such I would have to duplicate business logic in two types of forms for every form in my app to achieve this.
For this situation, it would be ideal if there was just simply a class called 'SyncFusionForm' which had a property that we could set to either Office2010Form or MetroForm etc...; but this does not exist.
Is there some type of workaround that I could use to achieve this effect of setting the form type at runtime based on a user setting? Perhaps something simulating multiple inheritance with interfaces, or some type of late binding on a base class that both Office2010Form and MetroForm derive from?