protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) { //你的代碼 base.OnNavigatedTo(e); }