Пример #1
0
 public FloatDocumentsHost()
 {
     _docMan = new DocumentManager();
     _docMan.ContainerControl = this;
     _docMan.View.FloatingDocumentContainer = FloatingDocumentContainer.DocumentsHost;
     ViewBaseEventsHandler.AttachToView(_docMan.View);
 }
Пример #2
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         ViewBaseEventsHandler.DettachFromView(_docMan.View);
         _docMan.Dispose();
     }
     base.Dispose(disposing);
 }