GoDiagram Win Reference
DoNewLink Method

This is called by DoMouseUp in order to create a new link.
Syntax
'Declaration
 
Public Overridable Sub DoNewLink( _
   ByVal fromPort As IGoPort, _
   ByVal toPort As IGoPort _
) 
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoToolLinking Class
GoToolLinking Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback