Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ////////////////Code from Page 1///////////////
- namespace App2
- {
- public sealed partial class MainPage
- {
- public MainPage()
- {
- InitializeComponent();
- MotionStoryboard.Begin();
- }
- private void Click_Login(object sender, RoutedEventArgs e)
- {
- Frame.Navigate(typeof (LoginPage));
- }
- private void Click_Register(object sender, RoutedEventArgs e)
- {
- Gride.Visibility = Visibility.Visible;
- MotionStory.Begin();
- }
- }
- }
- ////////////////Code from Page 2///////////////
- namespace App2
- {
- public sealed partial class LoginPage : Page
- {
- public LoginPage()
- {
- InitializeComponent();
- }
- private void button_Click(object sender, RoutedEventArgs e)
- {
- Frame.Navigate(typeof(MainWindow));
- }
- }
- }
Add Comment
Please, Sign In to add comment