protected override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     if (disposing)
     {
         if (this._controlBoxManager != null)
         {
             this._controlBoxManager.Dispose();
             this._controlBoxManager = null;
         }
         this._renderer = null;
         this._toolTip.Dispose();
     }
 }
Beispiel #2
0
        //释放资源文件
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);
            if (disposing)
            {
                if (_controlBoxManager != null)
                {
                    _controlBoxManager.Dispose();
                    _controlBoxManager = null;
                }

                _renderer = null;
                _toolTip.Dispose();
            }
        }