예제 #1
0
        private void btn_add_movie_Click(object sender, RoutedEventArgs e)
        {
            //Create addmovie page and navigate
            addmovie addmovie = new addmovie();

            this.NavigationService.Navigate(addmovie);
        }
예제 #2
0
 private void btn_font_Click(object sender, RoutedEventArgs e)
 {
     if (btn_font.Content.ToString() == "_Font+")
     {
         addmovie addmovie = new addmovie();
         this.NavigationService.Navigate(addmovie);
         addmovie.btn_font.Content          = "_Font-";
         addmovie.input_genre.FontSize      = 15;
         addmovie.input_price.FontSize      = 15;
         addmovie.input_year.FontSize       = 15;
         addmovie.input_movie_name.FontSize = 15;
         addmovie.tx_instructions.FontSize  = 15;
     }
     else
     {
         addmovie addmovie1 = new addmovie();
         this.NavigationService.Navigate(addmovie1);
         addmovie1.btn_font.Content = "_Font+";
     }
 }