SplashPage.xaml.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Diagnostics;
  4. using System.IO;
  5. using System.Linq;
  6. using System.Runtime.InteropServices.WindowsRuntime;
  7. using Windows.Foundation;
  8. using Windows.Foundation.Collections;
  9. using Windows.UI.Xaml;
  10. using Windows.UI.Xaml.Controls;
  11. using Windows.UI.Xaml.Controls.Primitives;
  12. using Windows.UI.Xaml.Data;
  13. using Windows.UI.Xaml.Input;
  14. using Windows.UI.Xaml.Media;
  15. using Windows.UI.Xaml.Navigation;
  16. // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
  17. namespace Breda_Tour.SplashScreen
  18. {
  19. /// <summary>
  20. /// An empty page that can be used on its own or navigated to within a Frame.
  21. /// </summary>
  22. public sealed partial class SplashPage : Page
  23. {
  24. //get current frame
  25. Frame f = (Frame)Window.Current.Content;
  26. public SplashPage()
  27. {
  28. this.InitializeComponent();
  29. }
  30. /// <author>Jannick van Ballegooijen</author>
  31. /// <desc>Temporary method to navigate to the main screen</desc>
  32. private void Button_Click(object sender, RoutedEventArgs e)
  33. {
  34. f.Navigate(typeof(MainPage));
  35. }
  36. }
  37. }