private void InitializeXboxApplication() { if (xboxApplicationInitialized) return; RootFrame = new XboxApplicationFrame(); RootFrame.NavigationFailed += RootFrame_NavigationFailed; HomePage = new Uri("/MainPage.xaml", UriKind.Relative); RootFrame.Source = HomePage; xboxApplicationInitialized = true; }
private void InitializeXboxApplication() { if (xboxApplicationInitialized) { return; } RootFrame = new XboxApplicationFrame(); RootFrame.NavigationFailed += RootFrame_NavigationFailed; HomePage = new Uri("/MainPage.xaml", UriKind.Relative); RootFrame.Source = HomePage; xboxApplicationInitialized = true; }