示例#1
0
 protected virtual void Dispose(bool disposing)
 {
     if (!this._disposed)
     {
         if (disposing)
         {
             if (this._maskControl != null)
             {
                 this._maskControl.Dispose();
                 this._maskControl = null;
             }
             this._owner = null;
         }
         this.ReleaseHandleInternal();
     }
     this._disposed = true;
 }
示例#2
0
 protected virtual void Dispose(bool disposing)
 {
     if (!this._disposed)
     {
         if (disposing)
         {
             if (this._maskControl != null)
             {
                 this._maskControl.Dispose();
                 this._maskControl = null;
             }
             this._owner = null;
         }
         this.ReleaseHandleInternal();
     }
     this._disposed = true;
 }
示例#3
0
        protected virtual void Dispose(bool disposing)
        {
            if (!_disposed)
            {
                if (disposing)
                {
                    if (_maskControl != null)
                    {
                        _maskControl.Dispose();
                        _maskControl = null;
                    }
                    _owner = null;
                }

                ReleaseHandleInternal();
            }
            _disposed = true;
        }
示例#4
0
 protected void CreateHandle()
 {
     base.AssignHandle(OwnerHWnd);
     _maskControl = new ScrollBarMaskControl(this);
     _maskControl.OnCreateHandle();
 }
        protected virtual void Dispose(bool disposing)
        {
            if (!_disposed)
            {
                if (disposing)
                {
                    if (_maskControl != null)
                    {
                        _maskControl.Dispose();
                        _maskControl = null;
                    }
                    _owner = null;
                }

                ReleaseHandleInternal();
            }
            _disposed = true;
        }
 protected void CreateHandle()
 {
     base.AssignHandle(OwnerHWnd);
     _maskControl = new ScrollBarMaskControl(this);
     _maskControl.OnCreateHandle();
 }