public ITisEventBinding AddBinding(object oEventSource, string sEventName, ITisInvokeParams oInvokeParams)
        {
            ITisEventBinding eventBinding = EventBindingsMngr.AddBinding(oEventSource, sEventName, oInvokeParams);

            UpdateEventSource(oEventSource, eventBinding, true);

            return(eventBinding);
        }
        public ITisEventBinding AddBinding(object oEventSource, string sEventName, string sInvokeTypeName, string sEventString)
        {
            ITisEventBinding eventBinding = EventBindingsMngr.AddBinding(
                oEventSource,
                sEventName,
                new TisInvokeParams(sInvokeTypeName, sEventString));

            UpdateEventSource(oEventSource, eventBinding, true);

            return(eventBinding);
        }
        public ITisEventBinding AddBinding(object oEventSource, string sEventName, MethodInfo oMethodInfo)
        {
            ITisEventBinding eventBinding = EventBindingsMngr.AddBinding(
                oEventSource,
                sEventName,
                oMethodInfo);

            UpdateEventSource(oEventSource, eventBinding, true);

            return(eventBinding);
        }
        public ITisEventBinding AddDNBinding(
            object oEventSource,
            string sEventName,
            string sModuleName,
            string sClassName,
            string sMethodName)
        {
            ITisEventBinding eventBinding = EventBindingsMngr.AddBinding(
                oEventSource,
                sEventName,
                new TisDNInvokeParams(sModuleName, sClassName, sMethodName));

            UpdateEventSource(oEventSource, eventBinding, true);

            return(eventBinding);
        }
        public ITisEventBinding AddBinding(object oEventSource, string sEventName, TisInvokeType enInvokeType, string sEventString)
        {
            ITisEventBinding eventBinding = null;

            switch (enInvokeType)
            {
            case TisInvokeType.DOTNET:
            {
                eventBinding = EventBindingsMngr.AddBinding(
                    oEventSource,
                    sEventName,
                    new TisDNInvokeParams(sEventString));
                break;
            }
            }

            UpdateEventSource(oEventSource, eventBinding, true);

            return(eventBinding);
        }