Guest User

Untitled

a guest
Jan 27th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. ////////////////Code from Page 1///////////////
  3. namespace App2
  4. {
  5.     public sealed partial class MainPage
  6.     {
  7.         public MainPage()
  8.         {
  9.             InitializeComponent();
  10.             MotionStoryboard.Begin();
  11.         }
  12.         private void Click_Login(object sender, RoutedEventArgs e)
  13.         {
  14.             Frame.Navigate(typeof (LoginPage));
  15.         }
  16.         private void Click_Register(object sender, RoutedEventArgs e)
  17.         {
  18.             Gride.Visibility = Visibility.Visible;
  19.            MotionStory.Begin();
  20.         }
  21.     }
  22. }
  23. ////////////////Code from Page 2///////////////
  24. namespace App2
  25. {
  26.     public sealed partial class LoginPage : Page
  27.     {
  28.         public LoginPage()
  29.         {
  30.             InitializeComponent();
  31.         }
  32.         private void button_Click(object sender, RoutedEventArgs e)
  33.         {
  34.             Frame.Navigate(typeof(MainWindow));  
  35.         }
  36.     }
  37. }
Add Comment
Please, Sign In to add comment