public FloatDocumentsHost() { _docMan = new DocumentManager(); _docMan.ContainerControl = this; _docMan.View.FloatingDocumentContainer = FloatingDocumentContainer.DocumentsHost; ViewBaseEventsHandler.AttachToView(_docMan.View); }
protected override void Dispose(bool disposing) { if (disposing) { ViewBaseEventsHandler.DettachFromView(_docMan.View); _docMan.Dispose(); } base.Dispose(disposing); }