Example #1
0
 public void Release()
 {
     if (_brush != null)
     {
         _brush.Dispose();
         _brush = null;
     }
 }
Example #2
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         fCtlPen.Dispose();
         fCtlBrush.Dispose();
     }
     base.Dispose(disposing);
 }
Example #3
0
        override public void Release()
        {
            base.Release();
            if (_outlinebrush != null)
            {
                _outlinebrush.Dispose();
            }

            _outlinebrush = null;
        }
Example #4
0
 public void Release()
 {
     if (_brush != null)
     {
         _brush.Dispose();
         _brush = null;
     }
     if (_outlineSymbol != null)
     {
         _outlineSymbol.Release();
     }
 }
Example #5
0
        virtual public void Release()
        {
            if (_font != null)
            {
                _font.Dispose();
            }

            _font = null;
            if (_brush != null)
            {
                _brush.Dispose();
            }

            _brush = null;
        }
Example #6
0
        public void Release()
        {
            if (_brush != null)
            {
                _brush.Dispose();
            }

            _brush = null;
            if (_pen != null)
            {
                _pen.Dispose();
            }

            _pen = null;
        }