Exemple #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 Hy.Metadata.UI.UCStandardManager();
                    IHooker hooker = new MetadataHooker(m_UcManager);
                    m_Guid        = hooker.ID;
                    m_HookControl = base.m_Hook.UIHook.AddHooker(hooker, enumDockPosition.Center);
                }

                this.m_Hook.UIHook.ActiveHookControl(m_Guid);
            }
        }
Exemple #2
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 Hy.Metadata.UI.UCStandardManager();
                    IHooker hooker= new MetadataHooker(m_UcManager);
                    m_Guid=hooker.ID;
                    m_HookControl= base.m_Hook.UIHook.AddHooker(hooker, enumDockPosition.Center);
                }

                this.m_Hook.UIHook.ActiveHookControl(m_Guid);
            }
        }
Exemple #3
0
 public MetadataHooker(Hy.Metadata.UI.UCStandardManager uc)
 {
     this.m_UcMetadata = uc;
 }
Exemple #4
0
 public MetadataHooker(Hy.Metadata.UI.UCStandardManager uc)
 {
     this.m_UcMetadata = uc;
 }