I have a base form (BaseForm) which needs to be inherited from all the forms in the project. Some of them inherit it, others not. How can I get a list of all those forms who currently don’t inherit it because we have a lot of forms and will be time consuming to go and check if each one of them inherits this form? Maybe some reflection ?
I have a base form ( BaseForm ) which needs to be inherited from
Share
Use the check Type.IsSubclassOf().