Hello,
I'm working on a user control (control A) that contains many controls within
it (textboxes, a radio button, listboxes, comboboxes and a button - as well
as a whack of labels). During a stage in the application, the form that
contains the user control (form A, just say) is hidden when another form
(form B) appears, and it can be re-dislayed by closing the form B. That's
all find and good, except that form A does not retain the values inside
control A. Control A is marked with <Serializable()> and I would assume that
the controls within would be serializable as well (textboxes? I'd be
surprised if they weren't....), so what would I be missing? So what happens
is that control A is on form A and when the user runs form B, form A is
hidden, and when form B closes, form A returns, but all the controls that are
in control A lose their value (there are other controls on form A, such as
textboxes, and they retain their value). Control A inherits from
System.Windows.Forms.userControl. What am I missing? What did I do wrong?
This is in VS2003, using VB.NET. Please help! (... and thank you!)