Winforms UserControl is not using the inheritance tree I have created. What am I doing wrong
- 阅读更多 关于 Winforms UserControl is not using the inheritance tree I have created. What am I doing wrong
问题 I am working on a wizard form framework that will allow me easily create wizard forms. I have a WizardForm form that has a panel on it. My plan is to dynamically load UserControls into this panel on the form. Each UserControl that is loaded onto the form panel must implement certain properties (allowNavigateNext, AllowNAvigate previous etc.). So I have created an interface to enforce that contract so that any custom user control can be used in the wizard as long as it implements that