Beispiel #1
0
        public override void OnSuspending(ScreenTransitionEvent e)
        {
            base.OnSuspending(e);

            // ensure the background is shown, even if the TriangleIntroSequence failed to do so.
            background.ApplyToBackground(b => b.Show());

            // important as there is a clock attached to a track which will likely be disposed before returning to this screen.
            intro.Expire();
        }