Exemple #1
0
        /// Terminate
        public static void Term()
        {
            SampleDraw.Term();
            graphics.Dispose();

            serverButton.Dispose();
            clientButton.Dispose();
        }
            public void Dispose()
            {
                soundPlayer.Stop();
                sound.Dispose();

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

            connectButton.Dispose();

            SampleDraw.Term();
            graphics.Dispose();
        }
Exemple #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();
        }
Exemple #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();
        }