public void CreateEventBridge()
        {
            if (false == Factory.Settings.EnableEvents)
            {
                return;
            }

            if (null != _connectPoint)
            {
                return;
            }

            if (null == _activeSinkId)
            {
                _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.OlkCommandButtonEvents_SinkHelper.Id);
            }


            if (Events.OlkCommandButtonEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
            {
                _olkCommandButtonEvents_SinkHelper = new Events.OlkCommandButtonEvents_SinkHelper(this, _connectPoint);
                return;
            }
        }
Ejemplo n.º 2
0
        public void CreateEventBridge()
        {
            if (false == NetOffice.Settings.EnableEvents)
            {
                return;
            }

            if (null != _connectPoint)
            {
                return;
            }

            if (null == _activeSinkId)
            {
                _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, OlkContactPhotoEvents_SinkHelper.Id);
            }


            if (OlkContactPhotoEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
            {
                _olkContactPhotoEvents_SinkHelper = new OlkContactPhotoEvents_SinkHelper(this, _connectPoint);
                return;
            }
        }
Ejemplo n.º 3
0
        public virtual void CreateEventBridge()
        {
            if (false == Factory.Settings.EnableEvents)
            {
                return;
            }

            if (null != _connectPoint)
            {
                return;
            }

            if (null == _activeSinkId)
            {
                _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, NetOffice.OWC10Api.Behind.EventContracts._DataSourceControlEvent_SinkHelper.Id);
            }


            if (NetOffice.OWC10Api.Behind.EventContracts._DataSourceControlEvent_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
            {
                __DataSourceControlEvent_SinkHelper = new NetOffice.OWC10Api.Behind.EventContracts._DataSourceControlEvent_SinkHelper(this, _connectPoint);
                return;
            }
        }
Ejemplo n.º 4
0
        public void CreateEventBridge()
        {
            if (false == Factory.Settings.EnableEvents)
            {
                return;
            }

            if (null != _connectPoint)
            {
                return;
            }

            if (null == _activeSinkId)
            {
                _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, NetOffice.MSComctlLibApi.Behind.EventContracts.ITabStripEvents_SinkHelper.Id);
            }


            if (NetOffice.MSComctlLibApi.Behind.EventContracts.ITabStripEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
            {
                _iTabStripEvents_SinkHelper = new NetOffice.MSComctlLibApi.Behind.EventContracts.ITabStripEvents_SinkHelper(this, _connectPoint);
                return;
            }
        }
Ejemplo n.º 5
0
        public void CreateEventBridge()
        {
            if (false == Factory.Settings.EnableEvents)
            {
                return;
            }

            if (null != _connectPoint)
            {
                return;
            }

            if (null == _activeSinkId)
            {
                _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, DispWebBrowserControlEvents_SinkHelper.Id);
            }


            if (DispWebBrowserControlEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
            {
                _dispWebBrowserControlEvents_SinkHelper = new DispWebBrowserControlEvents_SinkHelper(this, _connectPoint);
                return;
            }
        }
Ejemplo n.º 6
0
        public void CreateEventBridge()
        {
            if (false == Factory.Settings.EnableEvents)
            {
                return;
            }

            if (null != _connectPoint)
            {
                return;
            }

            if (null == _activeSinkId)
            {
                _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, NavigationGroupsEvents_12_SinkHelper.Id);
            }


            if (NavigationGroupsEvents_12_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
            {
                _navigationGroupsEvents_12_SinkHelper = new NavigationGroupsEvents_12_SinkHelper(this, _connectPoint);
                return;
            }
        }