GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoToolLinking Class / DoNewLink Method
In This Topic
    DoNewLink Method
    In This Topic
    This is called by DoMouseUp in order to create a new link.
    Syntax
    public virtual void DoNewLink( 
       IGoPort fromPort,
       IGoPort toPort
    )

    Parameters

    fromPort
    toPort
    Remarks
    This just calls GoView.CreateLink and GoView.RaiseLinkCreated. 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