public void DisposeEventBridge() { if (null != __LineEvents_SinkHelper) { __LineEvents_SinkHelper.Dispose(); __LineEvents_SinkHelper = null; } if (null != _dispLineEvents_SinkHelper) { _dispLineEvents_SinkHelper.Dispose(); _dispLineEvents_SinkHelper = null; } _connectPoint = null; }