/// <summary>
 /// Invoked when this page is about to be displayed in a Frame.
 /// </summary>
 /// <param name="e">Event data that describes how this page was reached.
 /// This parameter is typically used to configure the page.</param>
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     _initObject = e.Parameter as AuxBrowserInitObject;
     if (_initObject == null)
     {
         Frame.GoBack();
         return;
     }
     ((Storyboard)Resources["AuxGridFadeInStoryBoard"]).Begin();
     HardwareButtons.BackPressed += HardwareButtons_BackPressed;
 }
 protected override void OnNavigatedFrom(NavigationEventArgs e)
 {
     _initObject = null;
     HardwareButtons.BackPressed -= HardwareButtons_BackPressed;
     base.OnNavigatedFrom(e);
 }