public DockContent() { this._mDockHandler = new DockContentHandler(this, this.GetPersistString); this._mDockHandler.DockStateChanged += this.DockHandler_DockStateChanged; //Suggested as a fix by bensty regarding form resize ParentChanged += this.DockContent_ParentChanged; }