How to navigate to other page with button in WPF

后端 未结 7 1627
没有蜡笔的小新
没有蜡笔的小新 2021-02-05 15:56

I have a second .xaml page set up under the name Page2.xaml and I want to make it so that when my button is clicked, the user is taken to <

相关标签:
7条回答
  • 2021-02-05 16:28

    In case you want a separate window

    NavigationWindow navWIN = new NavigationWindow();
    navWIN.Content = new pageWFbchAdmin();
    navWIN.Show(); 
    //winBchAdmin.ShowDialog();
    
    0 讨论(0)
提交回复
热议问题