Exemple #1
0
 private void DisposePictures()
 {
     if (this.imageList_Medias.Images != null && this.imageList_Medias.Images.Count > 0)
     {
         foreach (Image i in this.imageList_Medias.Images)
         {
             PictureUtils.DisposeImage(i);
         }
     }
 }
Exemple #2
0
 public void DisposePictures()
 {
     if (this.imageList_Large.Images != null && this.imageList_Large.Images.Count > 0)
     {
         foreach (Image i in this.imageList_Large.Images)
         {
             PictureUtils.DisposeImage(i);
         }
     }
 }