コード例 #1
0
 public InertButton(VS2010LightDockPaneCaption dockPaneCaption, Bitmap image, Bitmap imageAutoHide)
 {
     DockPaneCaption = dockPaneCaption;
     m_image         = image;
     m_imageAutoHide = imageAutoHide;
     RefreshChanges();
 }
コード例 #2
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);
                }
            }
コード例 #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();
			}