0
Answer

Pen,Brush & StringFormat Serialization Problem

Administrator

Administrator

21y
2.9k
1
When I am drawing an object on a form I use a Pen,SolidBrush & StringFormat. My Object is Serializable, and I have to mark instance of those Classes as NonSerializable. but the problem when I load my object (DeSerialize) from my file, I want to have my existing Pens, Brushes...etc... how can I do that while I thoese classes are not serializable??!!! Thanks :0)