/// <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; }
/// <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; }