| | | StrataFrame User
       
Group: StrataFrame Users Last Login: 2 days ago @ 10:55:30 PM Posts: 128, Visits: 386 |
| | In our project, All forms are based on Devexpress XtraForm. Now, Strataframe forms requires to be inhereted from MicroFour.StrataFrame.UI.Windows.Forms.StandardForm. C# does not support Multiple inheretence. At first look, Source code will be changed to be inherited from Devexpress XtraForm. Does it works properly ? Any ideas , Expreriences ? Where is the source code location to be modified ? |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Yesterday @ 9:36:54 PM Posts: 4,200, Visits: 4,251 |
| | The StandardForm is not eh root for, it is the BaseForm which is in MicroFour StrataFrame Base. This form houses all of the required logic by the framework. You just need to create your own BaseForm and inherit off of the XtraForm and add all of the code from our BaseForm into your custom form. This is really the only way to achieve this. |
| | | | StrataFrame User
       
Group: StrataFrame Users Last Login: 2 days ago @ 10:55:30 PM Posts: 128, Visits: 386 |
| | BaseForm is in MicroFour Strataframe Business project. I will copy BaseForm as DevxBaseForm and compile and use StandartForm. Are there another places to be modified ? |
| | | | StrataFrame User
       
Group: StrataFrame Users Last Login: 2 days ago @ 10:55:30 PM Posts: 128, Visits: 386 |
| | Base form is inhereted from Windows.Forms.Form. Why do not we change Windows.Form to Devexpress Form ? |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Yesterday @ 9:36:54 PM Posts: 4,200, Visits: 4,251 |
| Base form is inhereted from Windows.Forms.Form. Why do not we change Windows.Form to Devexpress Form ? This would require that everyone of the StrataFrame developers purchase a copy of DevExpress...most of our developers do not use DevExpress nor do we want to have a framework the depends on a 3rd party entity. You are correct though, the BaseForm is in the Business assembly...sorry. |
| | | | StrataFrame User
       
Group: StrataFrame Users Last Login: 2 days ago @ 10:55:30 PM Posts: 128, Visits: 386 |
| | I've changed the BaseForm.vb as Public Class BaseForm Inherits MyBaseForm Implements MicroFour.StrataFrame.UI.Windows.Forms.IContainerControl MyBaseForm is inhereted from Devexpress XtraForm. I 've got error message below in design time when strataframe objects were dropped on my form. My form is based on StandartForm which is based on my changed BaseForm. "The object that the business object has been dropped on must be implement MicroFour.strataFrame.UI.Windows.Forms.IcontainerControl" |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Yesterday @ 9:36:54 PM Posts: 4,200, Visits: 4,251 |
| | |
|
|