Esempio n. 1
0
        protected override void DisposeSelf()
        {
            ImageAsset[] array = this.baseImageAssets;
            for (int i = 0; i < array.Length; i++)
            {
                ImageAsset imageAsset = array[i];
                imageAsset.Dispose();
            }
            ImageAsset[] array2 = this.barImageAssets;
            for (int j = 0; j < array2.Length; j++)
            {
                ImageAsset imageAsset2 = array2[j];
                imageAsset2.Dispose();
            }
            ImageAsset[,] array3 = this.handleImageAssets;
            int upperBound  = array3.GetUpperBound(0);
            int upperBound2 = array3.GetUpperBound(1);

            for (int k = array3.GetLowerBound(0); k <= upperBound; k++)
            {
                for (int l = array3.GetLowerBound(1); l <= upperBound2; l++)
                {
                    ImageAsset imageAsset3 = array3[k, l];
                    imageAsset3.Dispose();
                }
            }
            base.DisposeSelf();
        }
Esempio n. 2
0
 protected override void DisposeSelf()
 {
     ImageAsset[] array = this.backgroundImages;
     for (int i = 0; i < array.Length; i++)
     {
         ImageAsset imageAsset = array[i];
         imageAsset.Dispose();
     }
     if (this.itemSelectedImageAsset != null)
     {
         this.itemSelectedImageAsset.Dispose();
     }
     base.DisposeSelf();
 }