WPF 页面导航

<Button x:Name="btnReset" Click="btnReset_Click" Content="重 置" Grid.Row="4" Grid.Column="3" FontSize="30" HorizontalAlignment="Center"/>

 

 

 

private void btnReset_Click(object sender, RoutedEventArgs e)
{
NavigationWindow nv = new NavigationWindow();
nv.Content = new ResetPage();
nv.Show();
}

posted @ 2016-11-27 20:04  FredGrit  阅读(431)  评论(0编辑  收藏  举报