public void Release() { if (_brush != null) { _brush.Dispose(); _brush = null; } }
protected override void Dispose(bool disposing) { if (disposing) { fCtlPen.Dispose(); fCtlBrush.Dispose(); } base.Dispose(disposing); }
override public void Release() { base.Release(); if (_outlinebrush != null) { _outlinebrush.Dispose(); } _outlinebrush = null; }
public void Release() { if (_brush != null) { _brush.Dispose(); _brush = null; } if (_outlineSymbol != null) { _outlineSymbol.Release(); } }
virtual public void Release() { if (_font != null) { _font.Dispose(); } _font = null; if (_brush != null) { _brush.Dispose(); } _brush = null; }
public void Release() { if (_brush != null) { _brush.Dispose(); } _brush = null; if (_pen != null) { _pen.Dispose(); } _pen = null; }