SetupNavigationHandler() 공개 메소드

public SetupNavigationHandler ( System.Windows.Navigation.NavigationService ns ) : void
ns System.Windows.Navigation.NavigationService
리턴 void
        private void createEventBtn_Click(object sender, RoutedEventArgs e)
        {
            EventView editEventScreen = new EventView();

            editEventScreen.SetupNavigationHandler(this.NavigationService);
            this.NavigationService.Navigate(editEventScreen);
        }
        public void EditEventByID(int id)
        {
            // Redirect user to EditEventScreen to edit their event.
            SessionModel.GetInstance().EditEventID = id;

            EventView editEventScreen = new EventView();
            editEventScreen.SetupNavigationHandler(this.NavigationService);
            this.NavigationService.Navigate(editEventScreen);
        }
        public void EditEventByID(int id)
        {
            // Redirect user to EditEventScreen to edit their event.
            SessionModel.GetInstance().EditEventID = id;

            EventView editEventScreen = new EventView();

            editEventScreen.SetupNavigationHandler(this.NavigationService);
            this.NavigationService.Navigate(editEventScreen);
        }
 private void createEventBtn_Click(object sender, RoutedEventArgs e)
 {
     EventView editEventScreen = new EventView();
     editEventScreen.SetupNavigationHandler(this.NavigationService);
     this.NavigationService.Navigate(editEventScreen);
 }