先引用
using System.Windows.Navigation;
然后用下面的方法:
NavigationService.GetNavigationService(this).Navigate(new Uri("Page2.xaml", UriKind.Relative));转载于:https://my.oschina.net/u/2525682/blog/689662
先引用
using System.Windows.Navigation;
然后用下面的方法:
NavigationService.GetNavigationService(this).Navigate(new Uri("Page2.xaml", UriKind.Relative));转载于:https://my.oschina.net/u/2525682/blog/689662