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

            if (null != _connectPoint)
            {
                return;
            }

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


            if (Events._CustomControlInReportEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
            {
                __CustomControlInReportEvents_SinkHelper = new Events._CustomControlInReportEvents_SinkHelper(this, _connectPoint);
                return;
            }

            if (Events.DispCustomControlInReportEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
            {
                _dispCustomControlInReportEvents_SinkHelper = new Events.DispCustomControlInReportEvents_SinkHelper(this, _connectPoint);
                return;
            }
        }
        public void DisposeEventBridge()
        {
            if (null != __CustomControlInReportEvents_SinkHelper)
            {
                __CustomControlInReportEvents_SinkHelper.Dispose();
                __CustomControlInReportEvents_SinkHelper = null;
            }
            if (null != _dispCustomControlInReportEvents_SinkHelper)
            {
                _dispCustomControlInReportEvents_SinkHelper.Dispose();
                _dispCustomControlInReportEvents_SinkHelper = null;
            }

            _connectPoint = null;
        }