public InertButton(VS2010LightDockPaneCaption dockPaneCaption, Bitmap image, Bitmap imageAutoHide) { DockPaneCaption = dockPaneCaption; m_image = image; m_imageAutoHide = imageAutoHide; RefreshChanges(); }
public ActivateHook(DockPane pane, VS2010LightDockPaneCaption caption) { dockPane = pane; this.caption = caption; pane.HandleCreated += (sender, e) => AssignHandle(pane.Handle); pane.HandleDestroyed += (sender, e) => ReleaseHandle(); if (pane.IsHandleCreated) { AssignHandle(pane.Handle); } }
public ActivateHook(DockPane pane, VS2010LightDockPaneCaption caption) { dockPane = pane; this.caption = caption; pane.HandleCreated += (sender, e) => AssignHandle(pane.Handle); pane.HandleDestroyed += (sender, e) => ReleaseHandle(); if (pane.IsHandleCreated) AssignHandle(pane.Handle); }