I have a base class as desktop and 2 forms as coreui and newdevice

How should i declare them as 2 seperate forms in the single base class???