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