[Serializable]
public class ImageLB : ListBox
{}
That is my custom ListBox class. When I create a new instance of it and try to save it using the BinaryWriter it says ListBox is not serializable.
I want to save my entire ListBox (ImageLB) to disk with all its items and properties. Is this possible?
public class ImageLB : ListBox
{}
That is my custom ListBox class. When I create a new instance of it and try to save it using the BinaryWriter it says ListBox is not serializable.
I want to save my entire ListBox (ImageLB) to disk with all its items and properties. Is this possible?