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; }
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(); }