Exemplo n.º 1
0
        public override void OnClick()
        {
            if (m_UcManager != null && m_UcManager.Visible)
            {
                this.m_Hook.UIHook.CloseHookControl(m_Guid);
            }
            else
            {
                if (m_UcManager == null || m_HookControl == null || m_HookControl.IsDisposed)
                {
                    m_UcManager = new UCStandardManager();
                    IHooker hooker = new DataManageHooker(m_UcManager);
                    m_Guid = hooker.ID;
                    base.m_Hook.UIHook.AddHooker(hooker, enumDockPosition.Center);
                }

                this.m_Hook.UIHook.ActiveHookControl(m_Guid);
            }
        }
Exemplo n.º 2
0
 public DataManageHooker(UCStandardManager uc)
 {
     this.m_UcManager = uc;
 }