Opening a page by clicking a button in another page

Oct 17 2022 11:07 AM

Hi,

I am an absolute beginner using Visual Studio 2019 WPF. I am designing a project where I need to go from Pages to pages using buttons in pages. For exemple my main page (is a page not a window) has 4 buttons, each one opening a dedicated existing page, Button 1 to Page1, Button 2 to Page2, etc...

My problem is that I have absolute no clue how to get the action from clicking a button in the main page to get the dedicated page opening. I have not been able to find any sort of understandable solution in the net. So any help will be more than welcome.... Many thanks in advance to all who will answer.


Answers (1)