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 SimpleButton (Devexpress wrapped) object were dropped on my form. My form is based on StandartForm which is based on my changed BaseForm. With Textedit Object there is no similar error.
"The object that the business object has been dropped on must be implement MicroFour.strataFrame.UI.Windows.Forms.IcontainerControl"
IContainerControl Interface is implemented on baseform class but is not root (base class) now, Do I implement this interface on my base class ?
I've tried to set Business Object property of text control, I couldn't see BusinessObject in the list.
I've compiled succesfully without strong names (Because some of my related ddls does not have strong name).
In my tests, I've used these dlls from bin directory not from Common files and GAC. (I've not copied them into common files and GAC)
I've got nearly same errors. I think different versions of dlls from these places conflict each other. (May I have missing information) Is it necessary to put the dlls into gac and common files. I mean, May "My bin directory,Common files and GAC" be different?
I ve also tested CRM sample with compiled dlls and I've got errors like 'unable to cast of object type 'BusinessObject' to Microfour..BusinessLayerBase'
There is not much else that I think that I can do for you here.....I spent nearly an hour the other day making changes to the framework and creating this sample for you which really has nothing to do with SF but DevExpress. We were not obligated to do this since you are trying to make changes to a core piece of the framework and we do not actually support the DevExpress XtraForm...but I wanted to help since we value your business.
The problems that you seem to be fighting are simply namespace and inheritence issues (standard .NET programming). I have run the sample on several machines and it does in fact work....so I am not sure where you are running into your issue. You seem to be stuck on the IContainerControl implementation, but there is MUCH more that has to take place....and if you look at the sample I created for you, it does work. Even though I disagree with this approach that you are trying to take because as soon as we make a change to BaseForm you will not get this update....regardless, be sure that you are running on the 1.6.5 beta and then copy the attached business assembly into your GAC...I made changes specifically for you so that you could do this. I created a sample, made changes to the framework, and tried to make it as clear as I possibly could. I hope that you find your issue here as I am not sure that there is anything else I can say...sorry