Beispiel #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 public PivotPage()
 {
     this.InitializeComponent();
     this.NavigationCacheMode = NavigationCacheMode.Required;
     this._navigationHelper = new NavigationHelper( this );
     this._navigationHelper.LoadState += this.NavigationHelper_LoadState;
 }
Beispiel #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public AboutPage()
 {
     this.InitializeComponent();
     this._navigationHelper = new NavigationHelper( this );
     this._navigationHelper.LoadState += this.NavigationHelper_LoadState;
     this._navigationHelper.SaveState += this.NavigationHelper_SaveState;
     this.Loaded += ( sender, args ) =>
     {
         var ver = Windows.ApplicationModel.Package.Current.Id.Version;
         VersionNumber.Text = string.Format( "{0}.{1}.{2}.{3}", ver.Major, ver.Minor, ver.Build, ver.Revision );
     };
 }