0

I am quite new to C#. I am creating a Windows Form Application in Visual Studio 2017 and I was wondering how I link one page to another? e.g. clicking on next which will guide the user to the next page. I do not know the exact words for how to explain this but my research as of now has been quite useless.

I would like to know if I need to create another form? or simply add a new item to the existing form.. I am just not sure. Any help would be great thank you.

Sorry if unclear: E.g.

I have a form I am creating, which requires several details which should be on different stages of the app? I am wanting to have a next button which moves the user from the first page where it may have textboxes to a next page (which I will create - depending on how it works) where there may be radioButton questions.

UziQui
  • 1
  • 2
  • How can you link one form to another, if you just have one. Your question is quite unclear. – Nikolaus Dec 12 '17 at 03:05
  • You should search for Wizard forms. This is off-topic here. https://stackoverflow.com/questions/2340566/creating-wizards-for-windows-forms-in-c-sharp – Sunil Dec 12 '17 at 03:14

1 Answers1

2

If you want to project the new page in separate dialog or window just create separate form and trigger the open function of the form when next button is clicked.
If you want to project the new page in the same dialog then use tab control in that same form and make some validation to switch to next tab when next button is clicked.
Note: Using tab control is the best idea for your case.

Clinton Prakash
  • 967
  • 9
  • 20