Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 public void ResetImages()
 {
     images.Clear();
     onTopImages.Clear();
     CImage[] customImages = new CImage[2];
     backgroundImage = bezelImage = actorsImage = null;
 }
Esempio n. 3
0
 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);
 }