Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
Ah, there might be some confusion there, because there is a System.Windows.Forms.IContainerControl and there is a MicroFour.StrataFrame.UI.Windows.Forms.IContainerControl. The one you're probably wanting is the MicroFour one. That interface is implemented by classes like MicroFour.StrataFrame.UI.Windows.Forms.BaseForm, and MicroFour.StrataFrame.UI.Windows.Forms.UserControl. It ties together the binding between the business objects and the controls and initializes all of the objects that implement the IInitOnFormLoad interface. Now that interface is not implemented on ThemedForm because ThemedForm is meant to be an accent form, more as a base for the WaitWindow and MessageForm than as a form for your application. If you want to use the ThemedForm as the base for one or more of the forms in your application, you'll need to subclass it and implement that interface on it. You can see how to implement it by checking the source code for BaseForm... it's pretty extensive, so you might just copy it over if you need to.
|