// Do not add any additional code to this method private void InitializePhoneApplication() { if (phoneApplicationInitialized) { return; } RadTransition transition = new RadFadeTransition(); // 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. RadPhoneApplicationFrame frame = new RadPhoneApplicationFrame(); frame.Transition = transition; RootFrame = frame; RootFrame.Navigated += CompleteInitializePhoneApplication; // Handle navigation failures RootFrame.NavigationFailed += RootFrame_NavigationFailed; // Ensure we don't initialize again phoneApplicationInitialized = true; }
// Do not add any additional code to this method private void InitializePhoneApplication() { if (phoneApplicationInitialized) return; RadTransition transition = new RadFadeTransition(); // 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. RadPhoneApplicationFrame frame = new RadPhoneApplicationFrame(); frame.Transition = transition; RootFrame = frame; RootFrame.Navigated += CompleteInitializePhoneApplication; // Handle navigation failures RootFrame.NavigationFailed += RootFrame_NavigationFailed; // Ensure we don't initialize again phoneApplicationInitialized = true; }