MainPage.xaml.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. using System.Linq;
  5. using System.Runtime.InteropServices.WindowsRuntime;
  6. using Breda_Tours.SettingsScreen;
  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=402352&clcid=0x409
  17. namespace Breda_Tour
  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 MainPage : Page
  23. {
  24. private static Frame f;
  25. public MainPage()
  26. {
  27. this.InitializeComponent();
  28. f = this.rootFrame;
  29. f.Navigate(typeof(SettingsPage));
  30. }
  31. public static Frame RootFrame {
  32. get { return f; }
  33. }
  34. }
  35. }