void outproxy_ControlPointConnected(BasicControlPoint cp, IControlPoint other) { if (!cp.MarkForDelete && !mbLoading) { if (other.CanConnect(cp.ProxyTarget)) { other.ConnectControlPoint(cp.ProxyTarget); } } if (!cp.MarkForDelete && !mbLoading) { mHost.UIUpdate(mGroupUI, new BasicArgument(BasicArgument.eArgumentType.Refresh), eUpdateVisibilty.AnyVisiblity); } mHost.SetGroupsDirty(); }
void BindControlPoints(IControlPoint otherControlPoint) { if (otherControlPoint != null) { if (otherControlPoint.CanConnect(this)) { otherControlPoint.ConnectControlPoint(this); } else if (this.CanConnect(otherControlPoint)) { ConnectControlPoint(otherControlPoint); } mHost.SetDirty(); } }