M
Mark_B
I have an unpredictable number of RichTestBoxes, stored in a generic list,
that are created at runtime. Currently, I am saving these controls to a file
by saving each attribute of each box in string form using a streamwriter.
Later, these attributes are read from the file with a streamreader and the
controls are recreated.
It seems like a cumbersome, inelegant, and inefficient way to save. Is there
another way of saving the entire instance of a control (or any class) in one
shot?
that are created at runtime. Currently, I am saving these controls to a file
by saving each attribute of each box in string form using a streamwriter.
Later, these attributes are read from the file with a streamreader and the
controls are recreated.
It seems like a cumbersome, inelegant, and inefficient way to save. Is there
another way of saving the entire instance of a control (or any class) in one
shot?