protected override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     if (disposing)
     {
         _caret.Dispose();
         if (_timer != null)
         {
             _timer.Close();
         }
         _splitMark.Pen.Dispose();
     }
 }
        protected override void Dispose(bool disposing)
        {
            if (_privateRenderProfile != null)
            {
                _privateRenderProfile.Dispose();
                _privateRenderProfile = null;
            }

            base.Dispose(disposing);
            if (disposing)
            {
                _caret.Dispose();
                if (_timer != null)
                {
                    _timer.Close();
                }
                _splitMark.Pen.Dispose();
            }

            bgdrawer.Dispose();
        }