StrataFrame base class


Author
Message
Ertan Deniz
Ertan Deniz
StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)
Group: Forum Members
Posts: 163, Visits: 493
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 ? 


Replies
Ertan Deniz
Ertan Deniz
StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)
Group: Forum Members
Posts: 163, Visits: 493
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"

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
This is a cross-post.  Refer here http://forum.strataframe.net/FindPost14003.aspx.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search