GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoToolLinking Class / DoRelink Method
In This Topic
    DoRelink Method
    In This Topic
    This is called by DoMouseUp in order to reconnect the existing link.
    Syntax
    public virtual void DoRelink( 
       IGoLink oldlink,
       IGoPort fromPort,
       IGoPort toPort
    )

    Parameters

    oldlink
    fromPort
    toPort
    Remarks
    This makes sure oldlink refers to fromPort and toPort and then calls GoView.RaiseLinkRelinked. This method is responsible for setting TransactionResult, so that Stop's call to StopTransaction will properly call GoView.FinishTransaction or GoView.AbortTransaction, as desired.
    See Also