예제 #1
0
        /// <summary>
        /// Called when event.
        /// </summary>
        /// <param name="EventStruct">The event struct.</param>
        /// <returns>Returns result of event operation.</returns>
        public override object OnEvent(ref REXEvent EventStruct)
        {
            object result = null;

            if (ExtensionRef != null)
            {
                result = ExtensionRef.OnEvent(ref EventStruct);
            }

            // insert code here.

            if (result == null)
            {
                return(base.OnEvent(ref EventStruct));
            }
            else
            {
                return(result);
            }
        }