コード例 #1
0
 protected override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     if (disposing)
     {
         _caret.Dispose();
         if (_timer != null)
         {
             _timer.Close();
         }
         _splitMark.Pen.Dispose();
     }
 }
コード例 #2
0
        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();
        }