rog_rickert
Member
- Joined
- Dec 17, 2020
- Messages
- 11
- Programming Experience
- Beginner
Hello, I'm new to C# and UI design. I have a broad question as I'm just starting out.
I'm creating a desktop app with Visual Studio. The dashboard will have multiple tabs, each loading a form where the user can enter different settings. What is the best way to save that info when the user is navigating back and forth between forms. The info is being entered in using comboboxes, textboxes and updown boxes. I've just started playing around and when I move from one tab to another and then return to the original form, the previously entered data/selections are cleared. I know I can do this by saving the selection to static variables and then reloading them each time the form is accessed. I also know that static variables are said to be avoided.
any info to point me in the right direction is appreciated.
thanks,
Rog
I'm creating a desktop app with Visual Studio. The dashboard will have multiple tabs, each loading a form where the user can enter different settings. What is the best way to save that info when the user is navigating back and forth between forms. The info is being entered in using comboboxes, textboxes and updown boxes. I've just started playing around and when I move from one tab to another and then return to the original form, the previously entered data/selections are cleared. I know I can do this by saving the selection to static variables and then reloading them each time the form is accessed. I also know that static variables are said to be avoided.
any info to point me in the right direction is appreciated.
thanks,
Rog