Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
|
Create a strataframe user control and drop all of your controls onto the user control. Then drop that user control on your form and use the BOTranslations property. This has that type of logic...there is more to replacing an instance that just changing the property instance, all of the events, field references, etc. have to be reflectively changed in order for this to work. This is not a SF related issue, this is just a .NET related situation where you want to change the instance of an object. You can do this manually through the BusinessObjectTranslator class, but this is a much more complicated approach. This is the class that is used by the User Control and ChildFormDialog when translating those business objects from one instance to another (MicroFour.StrataFrame.UI.WIndows.Forms.BusinessObjectTranslator).
|