Пример #1
0
        /// Terminate
        public static void Term()
        {
            SampleDraw.Term();
            graphics.Dispose();

            serverButton.Dispose();
            clientButton.Dispose();
        }
Пример #2
0
            public void Dispose()
            {
                soundPlayer.Stop();
                sound.Dispose();

                textSprite.Dispose();
                playButton.Dispose();
                stopButton.Dispose();
                volumeSlider.Dispose();
            }
Пример #3
0
        /// Terminate
        public static void Term()
        {
            if (httpText != null)
            {
                httpText.Dispose();
                httpText = null;
            }

            connectButton.Dispose();

            SampleDraw.Term();
            graphics.Dispose();
        }
Пример #4
0
        /// Terminate
        public static void Term()
        {
            bgmPlayer.Stop();
            bgm.Dispose();

            playButton.Dispose();
            stopButton.Dispose();
            pauseButton.Dispose();
            resumeButton.Dispose();
            volumeSlider.Dispose();

            SampleDraw.Term();
            graphics.Dispose();
        }
Пример #5
0
        /// terminate
        public static void Term()
        {
            button0.Dispose();
            button1.Dispose();
            button2.Dispose();

            inputTextButton.Dispose();
            if (dialog != null)
            {
                dialog.Dispose();
                dialog = null;
            }

            SampleDraw.Term();
            graphics.Dispose();
        }