Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Sourcecode (Read 3853 times)
SC
YaBB Newbies
*
Offline



Posts: 37
Joined: Jan 18th, 2008
Sourcecode
Jun 7th, 2008 at 7:13pm
Print Post  
We have purchased the source code, I am trying to run it but having problems with errors as below:

UserControlTestContainer:

Failed to create stringformatedit usercontrol.
constructor on type mindfusion.diagramming.design.stringformatedit not found.

Also I am trying to create custom class of shapenode deriving from shapenode. Since the factory.createshapenode is returning standard shapenode, how can I convert that into mycustom class?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Sourcecode
Reply #1 - Jun 8th, 2008 at 11:42am
Print Post  
Create a new WPF application project in the solution, add a Diagram to the window there, and use the "Start external program" option from the Diagram project's Debug properties to be able to debug the control.

The Factory methods can be used to create instances only from the built-in item types. You can add custom items to the diagram by means of the items collections Add method:

diagram.Nodes.Add(new MyShapeNode(...));

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
SC
YaBB Newbies
*
Offline



Posts: 37
Joined: Jan 18th, 2008
Re: Sourcecode
Reply #2 - Jun 9th, 2008 at 11:50pm
Print Post  
Hi
I wanted to change ArrowHead.Circle size to make it smaller.

If I add the sourcecode project to my application and point the reference of wpf.dll to mindfusion sourcecode application then if there are any new releases, how can I keep track of my changes that I am making in your sourcecode as I definitely want to use your latestsourcecode that you keep updating and also keep maintainig my changes too.

When I rebuild sourcecode (I have signed with my credentials) and referenced the sourcecode dll in my application it is giving the following error:

Error      1      'The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'      C:\Sourcecode\Demo\June042007\Designer\Designer\LC      Designer


how can i fix this? Please help me in linking your code.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Sourcecode
Reply #3 - Jun 10th, 2008 at 6:10am
Print Post  
Hi,

Why not use the HeadShapeSize property instead of modifying the code?

To fix the LC issue, edit licenses.licx, find the PublicKeyToken value and set it PublicKeyToken=null.

Keep a copy of the original source code, and run the WinDiff tool between your version and the original version when you get new source code. WinDiff will let you quickly find just your additions and move them to the new source code.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint