itemevents_10_sinkhelper.cs

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

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

    [ClassInterface(ClassInterfaceType.None)]
    public sealed class ItemEvents_10_SinkHelper : ItemEvents_10
    {
        public ItemEvents_10_AttachmentAddEventHandler m_AttachmentAddDelegate = null;
        public ItemEvents_10_AttachmentReadEventHandler m_AttachmentReadDelegate = null;
        public ItemEvents_10_BeforeAttachmentSaveEventHandler m_BeforeAttachmentSaveDelegate = null;
        public ItemEvents_10_BeforeCheckNamesEventHandler m_BeforeCheckNamesDelegate = null;
        public ItemEvents_10_BeforeDeleteEventHandler m_BeforeDeleteDelegate = null;
        public ItemEvents_10_CloseEventHandler m_CloseDelegate = null;
        public ItemEvents_10_CustomActionEventHandler m_CustomActionDelegate = null;
        public ItemEvents_10_CustomPropertyChangeEventHandler m_CustomPropertyChangeDelegate = null;
        public int m_dwCookie = 0;
        public ItemEvents_10_ForwardEventHandler m_ForwardDelegate = null;
        public ItemEvents_10_OpenEventHandler m_OpenDelegate = null;
        public ItemEvents_10_PropertyChangeEventHandler m_PropertyChangeDelegate = null;
        public ItemEvents_10_ReadEventHandler m_ReadDelegate = null;
        public ItemEvents_10_ReplyAllEventHandler m_ReplyAllDelegate = null;
        public ItemEvents_10_ReplyEventHandler m_ReplyDelegate = null;
        public ItemEvents_10_SendEventHandler m_SendDelegate = null;
        public ItemEvents_10_WriteEventHandler m_WriteDelegate = null;

        internal ItemEvents_10_SinkHelper()
        {
        }

        public override void AttachmentAdd(Attachment attachment1)
        {
            if (this.m_AttachmentAddDelegate != null)
            {
                this.m_AttachmentAddDelegate(attachment1);
            }
        }

        public override void AttachmentRead(Attachment attachment1)
        {
            if (this.m_AttachmentReadDelegate != null)
            {
                this.m_AttachmentReadDelegate(attachment1);
            }
        }

        public override void BeforeAttachmentSave(Attachment attachment1, ref bool flagRef1)
        {
            if (this.m_BeforeAttachmentSaveDelegate != null)
            {
                this.m_BeforeAttachmentSaveDelegate(attachment1, ref flagRef1);
            }
        }

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

        public override void BeforeDelete(object obj1, ref bool flagRef1)
        {
            if (this.m_BeforeDeleteDelegate != null)
            {
                this.m_BeforeDeleteDelegate(obj1, ref flagRef1);
            }
        }

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

        public override void CustomAction(object obj1, object obj2, ref bool flagRef1)
        {
            if (this.m_CustomActionDelegate != null)
            {
                this.m_CustomActionDelegate(obj1, obj2, ref flagRef1);
            }
        }

        public override void CustomPropertyChange(string text1)
        {
            if (this.m_CustomPropertyChangeDelegate != null)
            {
                this.m_CustomPropertyChangeDelegate(text1);
            }
        }

        public override void Forward(object obj1, ref bool flagRef1)
        {
            if (this.m_ForwardDelegate != null)
            {
                this.m_ForwardDelegate(obj1, ref flagRef1);
            }
        }

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

        public override void PropertyChange(string text1)
        {
            if (this.m_PropertyChangeDelegate != null)
            {
                this.m_PropertyChangeDelegate(text1);
            }
        }

        public override void Read()
        {
            if (this.m_ReadDelegate != null)
            {
                this.m_ReadDelegate();
            }
        }

        public override void Reply(object obj1, ref bool flagRef1)
        {
            if (this.m_ReplyDelegate != null)
            {
                this.m_ReplyDelegate(obj1, ref flagRef1);
            }
        }

        public override void ReplyAll(object obj1, ref bool flagRef1)
        {
            if (this.m_ReplyAllDelegate != null)
            {
                this.m_ReplyAllDelegate(obj1, ref flagRef1);
            }
        }

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

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

⌨️ 快捷键说明

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