Creates the page
상속: 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;
 }