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);
                }
            }
예제 #3
0
			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);
			}
예제 #4
0
			public InertButton(VS2010LightDockPaneCaption dockPaneCaption, Bitmap image, Bitmap imageAutoHide) {
				DockPaneCaption = dockPaneCaption;
				m_image = image;
				m_imageAutoHide = imageAutoHide;
				RefreshChanges();
			}