I'm currently working on a multi-form program for testing Data Acquisition Processors.
The software itself offers functions to perform certain tests on the DAP. Currently, each test has its own form, as well as associated methods and attributes. However, it is currently very redundant, since all tests need to use the same methods in some cases, but these are defined equally in each form.
Because of this problem I logically consider the concept of inheritance as a solution. However, the problem is that when I have a main form and I derive all other test forms from it, they are also visually derived from the main form. However, I want to stop exactly that. I only need the derived methods and attributes, not the visual derivation.
Is there a concept that does exactly that? Can I prevent the "InitializeComponents()" method from being called? Or is it already sufficient if I mark my main form as 'abstract'?