Designer class of the dockable window add-in. It contains user interfaces that make up the dockable window.
Inheritance: System.Windows.Forms.UserControl
        protected override void OnActivate()
        {
            try
            {
                this.Cursor = Cursors.Cross;

                CurrentDigitTool.CurrentTool.currentDigit = this;

                SetTargetLayer();

                ESRI.ArcGIS.Framework.IDockableWindowManager dockWinMgr = ArcMap.DockableWindowManager;
                UID u = new UID();
                u.Value = "DigitTool_DockableWindowCS";

                if (dockWinMgr == null)
                {
                    return;
                }

                m_dockableWindow = dockWinMgr.GetDockableWindow(u);

                if (m_dockableDigit == null)
                {
                    m_dockableDigit = CurrentDigitTool.CurrentTool.digitDockableWindow;
                }

                if (m_dockableDigit != null)
                {
                    m_dockableDigit.Init(m_schematicLayer);
                }

                m_dockableWindow.Show(true);

                CurrentDigitTool.CurrentTool.currentDockableWindow = m_dockableWindow;
            }
            catch (System.Exception e)
            {
                System.Windows.Forms.MessageBox.Show(e.Message);
            }
        }
			protected override IntPtr OnCreateChild()
			{
				m_windowUI = new DigitDockableWindow(this.Hook);

				CurrentDigitTool.CurrentTool.digitDockableWindow = m_windowUI;

				if (CurrentDigitTool.CurrentTool.currentDigit != null)
				{
					m_windowUI.m_digitCommand = CurrentDigitTool.CurrentTool.currentDigit;
					m_windowUI.m_digitCommand.m_dockableDigit = m_windowUI;
				}
				else
				{
					// CurrentDigitTool.CurrentTool.CurrentDigit is null when we open ArcMap, but OnCreateChild
					// is called if the dockable window was shown during the last ArcMap session.
					ESRI.ArcGIS.Framework.IDockableWindowManager dockWinMgr = ArcMap.DockableWindowManager;
					UID u = new UID();
					u.Value = "DigitTool_DockableWindowCS";
					CurrentDigitTool.CurrentTool.currentDockableWindow = dockWinMgr.GetDockableWindow(u);
				}

				return m_windowUI.Handle;
			}
        protected override void OnActivate()
        {
            try
            {
                this.Cursor = Cursors.Cross;

                CurrentDigitTool.CurrentTool.currentDigit = this;

                SetTargetLayer();

                ESRI.ArcGIS.Framework.IDockableWindowManager dockWinMgr = ArcMap.DockableWindowManager;
                UID u = new UID();
                u.Value = "DigitTool_DockableWindowCS";

                if (dockWinMgr == null)
                    return;

                m_dockableWindow = dockWinMgr.GetDockableWindow(u);

                if (m_dockableDigit == null)
                    m_dockableDigit = CurrentDigitTool.CurrentTool.digitDockableWindow;

                if (m_dockableDigit != null)
                    m_dockableDigit.Init(m_schematicLayer);

                m_dockableWindow.Show(true);

                CurrentDigitTool.CurrentTool.currentDockableWindow = m_dockableWindow;
            }
            catch (System.Exception e)
            {
                System.Windows.Forms.MessageBox.Show(e.Message);
            }
        }