I create winform and its control created in run time based on some data passed to the form.
I don't know the number of controls will be created also the type of control.
The data passed to form just text and i make some condition to check create label or textbox or button.
I want to save this controls name, Location,Text. This controls can be textbox,button, label,ComboBox.
How can i make that ? if XmlSerializer can be valid in this case? if yes how can use it?
Can anyone give me a bit of code or link ?