Пример #1
0
        public void Button_Click_1(object sender, RoutedEventArgs e)
        {
            Page page = new Page1();

            NavigationService.Navigate(page);
        }
Пример #2
0
        private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            Page1 p = new Page1();

            NavigationService.Navigate(p);
        }