Beispiel #1
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            // Set the sharing mode of the graphics device to turn on XNA rendering
            SharedGraphicsDeviceManager.Current.GraphicsDevice.SetSharingMode(true);
            label = NavigationContext.QueryString["Username"].ToString();
            tutorial16.Initialize(SharedGraphicsDeviceManager.Current, contentManager, viewfinderBrush);
            //tutorial16.label = label;
            // Start the timer
            timer.Start();

            base.OnNavigatedTo(e);
        }