Creates the page
Inheritance: Windows.UI.Xaml.Controls.Page
示例#1
0
 /// <summary>
 /// Constructor
 /// </summary>
 public RecogResultPage()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
     this.navigationHelper.SaveState += this.NavigationHelper_SaveState;
     Application.Current.Resuming += new EventHandler<object>(App_Resuming);
     Windows.Phone.UI.Input.HardwareButtons.BackPressed += HardwareButtons_BackPressed;
     Current = this;
     Window.Current.VisibilityChanged += CurrentWindow_VisibilityChanged;
     currentPage = Current;
 }
示例#2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public RecogResultPage()
 {
     this.InitializeComponent();
     this.navigationHelper            = new NavigationHelper(this);
     this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
     this.navigationHelper.SaveState += this.NavigationHelper_SaveState;
     Application.Current.Resuming    += new EventHandler <object>(App_Resuming);
     Windows.Phone.UI.Input.HardwareButtons.BackPressed += HardwareButtons_BackPressed;
     Current = this;
     Window.Current.VisibilityChanged += CurrentWindow_VisibilityChanged;
     currentPage = Current;
 }