Alsing.Drawing.GDI.GDIBrush.Destroy C# (CSharp) 메소드

Destroy() 보호된 메소드

protected Destroy ( ) : void
리턴 void
        protected override void Destroy()
        {
            //only destroy if brush is created by us
            if (!mSystemBrush)
            {
                if (hBrush != (IntPtr) 0)
                    NativeMethods.DeleteObject(hBrush);
            }

            base.Destroy();
            hBrush = (IntPtr) 0;
        }
    }