コード例 #1
0
        private void OnUnloaded(Screen screen)
        {
            Triangle.Dispose();
            LayoutRecords.Dispose();
            LayoutTop.Dispose();
            PlanetStart.Dispose();
            AnimationEndGame.Dispose();

            Update    -= OnUpdate;
            Paint     -= OnPaint;
            MouseDown -= OnMouseDown;
            Unloaded  -= OnUnloaded;
        }
コード例 #2
0
        private void OnUnloaded(Screen screen)
        {
            Update    -= OnUpdate;
            Paint     -= OnPaint;
            MouseDown -= OnMouseDown;
            Unloaded  -= OnUnloaded;

            LayoutRecords.Dispose();
            Planet.Dispose();
            Triangle.Dispose();
            LabelTouchMe.Dispose();
            paint.Dispose();
            AnimationEndGame.Dispose();
            PaintAnimation.Dispose();
        }