public void Dispose() { if (_graphics != null) { try { // Put back to the original text hint _graphics.TextRenderingHint = _textHint; } catch { } } }