[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 420
  • Last Modified:

Serialization of UserControl List

I am developing an application in C# 2005.
I have a usercontrol with many different properties including Color, PointF, Size
I have a form with a variable amount of instances of this control along with it's own properties.

I would like to use the XMLSerializer to create a save file for the overall form to store the lot.

If there any simple solution to this???

I understand that the UserControl itself cannot be Serialzed - this might be a problem!!!

Any thoughts?

James
0
James Atkin
Asked:
James Atkin
1 Solution
 
sabeeshCommented:
you can write a property class and make that class to serializable. this is the easiest way i hope
0
 
James AtkinSenior Principle Software EngineerAuthor Commented:
That is the conclusion I came to :-(

Why isn't life ever simple!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now