I have program with asp.net c# but now i need to create an application in windows forms, I have tried to see some tutorials but they all show only one form. How is this concept done in windows forms?
In asp.net you create a page and fill it with controls like text boxes, drop downs etc.. and maybe a button with “Go Next”, then you would have another page with different controls and with its own functionality too. So when you click next you would do something like Response.Redirect("SomePage.aspx"); for example..
How is this done in windows forms?, can I have several forms and navigate from one to the other? and if so how do you persist data when navigating from one to another?.
Please excuse if the question is too basic but I am new to windows forms.
Any help would be much appreciated
Regards
You could also make UserControls and fill them with your controls. Then you can add or remove them from your form or container. That is how I switch Edit Pages in my application.
A simple Example using 2
UserControlsand aPanelas a container: