Пример #1
0
        protected override void Dispose(bool disposing)
        {
            if (disposing) {
                if (fThumb != null) {
                    fThumb.Dispose();
                    fThumb = null;
                }

                if (fHBack != null) {
                    fHBack.Dispose();
                    fHBack = null;
                }

                if (fHArrows != null) {
                    fHArrows.Dispose();
                    fHArrows = null;
                }

                if (fVBack != null) {
                    fVBack.Dispose();
                    fVBack = null;
                }

                if (fVArrows != null) {
                    fVArrows.Dispose();
                    fVArrows = null;
                }
            }

            base.Dispose(disposing);
        }
 public void Dispose()
 {
     if (BaseImage != null)
     {
         BaseImage.Dispose();
     }
     if (IDImage != null)
     {
         IDImage.Dispose();
     }
     if (CollisionMaskA != null)
     {
         CollisionMaskA.Dispose();
     }
     if (CollisionMaskB != null)
     {
         CollisionMaskB.Dispose();
     }
     if (InternalImage != null)
     {
         InternalImage.Dispose();
     }
     if (CollectiveImage != null)
     {
         CollectiveImage.Dispose();
     }
 }
Пример #3
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         fSplash.Dispose();
     }
     base.Dispose(disposing);
 }
 public void Dispose()
 {
     BaseImage.Dispose();
     SmallerImage.Dispose();
     ModifiedImage.Dispose();
     SmallChangeImage.Dispose();
     CheckerChangeImage.Dispose();
 }
Пример #5
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (fImage != null)
         {
             fImage.Dispose();
         }
     }
     base.Dispose(disposing);
 }
Пример #6
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (CheckImage != null)
                {
                    CheckImage.Dispose();
                    CheckImage = null;
                }

                fItems.Dispose();
                fColumnTitles.Dispose();
            }
            base.Dispose(disposing);
        }
Пример #7
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (fGlyph != null)
                {
                    fGlyph.Dispose();
                    fGlyph = null;
                }

                if (fImage != null)
                {
                    fImage.Dispose();
                    fImage = null;
                }
            }
            base.Dispose(disposing);
        }
Пример #8
0
        public static void DoneCtlImages()
        {
            if (CtlDecor != null)
            {
                CtlDecor.Dispose();
                CtlDecor = null;
            }

            if (WinBack != null)
            {
                WinBack.Dispose();
                WinBack = null;
            }

            if (WinDecor != null)
            {
                WinDecor.Dispose();
                WinDecor = null;
            }
        }
Пример #9
0
 public void Dispose()
 {
     BaseImage.Dispose();
     SmallerImage.Dispose();
     ModifiedImage.Dispose();
 }