public void Dispose() { labels.Clear(); sounds.Clear(); for (var i = 0; i < 2; i++) { customImages[i] = null; } if (backgroundSound != null) { backgroundSound.Dispose(); backgroundSound = null; } if (backgroundMusic != null) { backgroundMusic.Dispose(); backgroundMusic = null; } if (videosnapVideo != null) { videosnapVideo.Dispose(); videosnapVideo = null; } backgroundImage = null; screenSaverImage = null; images.Clear(); }
public void ResetImages() { images.Clear(); onTopImages.Clear(); CImage[] customImages = new CImage[2]; backgroundImage = bezelImage = actorsImage = null; }
public CStatusAnimatedImage CreateBezelImage(string filename, int width, int height, int frame_duration_ms, int repeat_delay_ms) { bezelImage = new CStatusAnimatedImage(filename, width, height, "", false, true, frame_duration_ms, repeat_delay_ms); return(bezelImage); }