Aviary.SDKs.WP8.TestApp.App.InitializePhoneApplication C# (CSharp) Méthode

InitializePhoneApplication() private méthode

private InitializePhoneApplication ( ) : void
Résultat void
        private void InitializePhoneApplication()
        {
            if (phoneApplicationInitialized)
            return;

             // Create the frame but don't set it as RootVisual yet; this allows the splash
             // screen to remain active until the application is ready to render.
             RootFrame = new PhoneApplicationFrame();
             RootFrame.Navigated += CompleteInitializePhoneApplication;

             // Handle navigation failures
             RootFrame.NavigationFailed += RootFrame_NavigationFailed;

             // Handle reset requests for clearing the backstack
             RootFrame.Navigated += CheckForResetNavigation;

             // Ensure we don't initialize again
             phoneApplicationInitialized = true;
        }