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

            if (null != _connectPoint)
            {
                return;
            }

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


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

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

            _connectPoint = null;
        }