Advertisement
zolffik

MainPage.xaml.cs

May 1st, 2014
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.90 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Net;
  5. using System.Windows;
  6. using System.Windows.Controls;
  7. using System.Windows.Documents;
  8. using System.Windows.Input;
  9. using System.Windows.Media;
  10. using System.Windows.Media.Animation;
  11. using System.Windows.Shapes;
  12. using Microsoft.Phone.Controls;
  13.  
  14. namespace magisterskie_testy_wp
  15. {
  16.     public partial class MainPage : PhoneApplicationPage
  17.     {
  18.         // Constructor
  19.         public MainPage()
  20.         {
  21.             InitializeComponent();
  22.         }
  23.  
  24.         private void btnTest1(object sender, RoutedEventArgs e)
  25.         {
  26.             NavigationService.Navigate(new Uri("/btnTest1.xaml?val={0}", UriKind.Relative));
  27.         }
  28.  
  29.         private void btnTest2(object sender, RoutedEventArgs e)
  30.         {
  31.             NavigationService.Navigate(new Uri("/btnTest2.xaml?val={0}", UriKind.Relative));
  32.         }
  33.     }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement