Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 QCChart2D and QCChart2D CF (VB and C#)
 Serialization
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

carlao

54 Posts

Posted - 03 Dec 2006 :  14:21:39  Show Profile  Reply with Quote
I have some charts and I would like to enable the user to save to disk its entire configuration using serialization. After, using deserialization the user should be able to restore the entire chart and its last status. I tried to use .Net serialization but I receive an error message that says some libs in QCChart2D has no serialize attribute.
Am I missing something here? If I really can not serialize to disk, is there a workaround to implement this feature?
Thanks.

quinncurtis

1164 Posts

Posted - 03 Dec 2006 :  17:27:22  Show Profile  Reply with Quote
Sorry, but our charts do not support serialization. Our ChartView class is a subclass of the .Net System.Windows.Forms.UserControl class, and since that class doesn't support .Net serialization, neither can ours.

If you want your users to save and restore the state of graphs that they define, you will need to design some sort of configuration file (XML would be the best choice) that itemizes the options that you permit the user to modify. You would have to write the software that saves and restores the configuration file, and rebuilds the graph. We don't have any special routines that would aid you in this however.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07