This project is read-only.

Crainiate Open Diagram 5.0 Diagram Load Issue ....

Aug 13, 2012 at 2:00 AM


I'm C# .Net Developer !! 

I'm read   and follow  code ..

saving  diagram  success !!

but saving a little ploblem  


1. Connector  class is not Serialization !!  New Class file   need.... 

Are there plans to add ISerializationSurrogate classes for Connector?

2. Diagram Load fail .. 


Append my code 

saving  Diagram Code 

  private void button3_Click(object sender, EventArgs e)       

{            Document document = new Document(diagram1.Controller.Model);
            document.Save(Application.StartupPath + "\\test.xml", System.Data.SerializationFormat.Xml);       



load Diagram 

  private void button2_Click(object sender, EventArgs e)            


          string path = string.Empty;

           Document myDiagram = new Document(this.diagram1.Controller.Model);                               myDiagram.LoadDdiagram(Application.StartupPath + "\\test.xml",System.Data.SerializationFormat.Xml);           




what Problem my  code ??

Please help me!!