outlookbargroupsevents_sinkhelper.cs

来自「破解的飞信源代码」· CS 代码 · 共 44 行

CS
44
字号
namespace Microsoft.Office.Interop.Outlook
{
    using System;
    using System.Runtime.InteropServices;

    [ClassInterface(ClassInterfaceType.None)]
    public sealed class OutlookBarGroupsEvents_SinkHelper : OutlookBarGroupsEvents
    {
        public OutlookBarGroupsEvents_BeforeGroupAddEventHandler m_BeforeGroupAddDelegate = null;
        public OutlookBarGroupsEvents_BeforeGroupRemoveEventHandler m_BeforeGroupRemoveDelegate = null;
        public int m_dwCookie = 0;
        public OutlookBarGroupsEvents_GroupAddEventHandler m_GroupAddDelegate = null;

        internal OutlookBarGroupsEvents_SinkHelper()
        {
        }

        public override void BeforeGroupAdd(ref bool flagRef1)
        {
            if (this.m_BeforeGroupAddDelegate != null)
            {
                this.m_BeforeGroupAddDelegate(ref flagRef1);
            }
        }

        public override void BeforeGroupRemove(OutlookBarGroup group1, ref bool flagRef1)
        {
            if (this.m_BeforeGroupRemoveDelegate != null)
            {
                this.m_BeforeGroupRemoveDelegate(group1, ref flagRef1);
            }
        }

        public override void GroupAdd(OutlookBarGroup group1)
        {
            if (this.m_GroupAddDelegate != null)
            {
                this.m_GroupAddDelegate(group1);
            }
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?