Link to home
Start Free TrialLog in
Avatar of dizzycat
dizzycat

asked on

Keep form values

Hi experts

Using C# i have  2 forms with controls on them, i want to be able to go to form2 (do some calculations) and then go back to form1 whilst keeping all of the selected values in form1, if I use
public f1 = new Form1();

then all of the comboboxs ect in form1 are cleared of their values because I have created a new instance of the form1 object.

Hope somebody can help
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial