/// 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(); }
/// Terminate public static void Term() { if (httpText != null) { httpText.Dispose(); httpText = null; } connectButton.Dispose(); SampleDraw.Term(); graphics.Dispose(); }
/// Terminate public static void Term() { bgmPlayer.Stop(); bgm.Dispose(); playButton.Dispose(); stopButton.Dispose(); pauseButton.Dispose(); resumeButton.Dispose(); volumeSlider.Dispose(); SampleDraw.Term(); graphics.Dispose(); }
/// terminate public static void Term() { button0.Dispose(); button1.Dispose(); button2.Dispose(); inputTextButton.Dispose(); if (dialog != null) { dialog.Dispose(); dialog = null; } SampleDraw.Term(); graphics.Dispose(); }