How to make container dependent control?
问题 I am creating a Wizard Control in C# application. So, I have created two classes XWizardControl and XWinzardPage . The collection of XWizardPage will be created in XWizardControl. User can manually add number of XWizardPage in XWizardControl just like TabPage in TabControl. My problem is developer cannot use that XWizardPage control directly in any other container or form. They cannot add directly into any container. But they can create object from the editor and it should not be displayed in