GoDiagram Win Reference
OnLayerChanged Method (GoControl)

When a GoControl is added to a document, we need to add corresponding Controls to all of its views; when it is removed from a document, we need to remove all of its Controls in all of its views.
Syntax
'Declaration
 
Protected Overrides Sub OnLayerChanged( _
   ByVal oldlayer As GoLayer, _
   ByVal newlayer As GoLayer, _
   ByVal mainObj As GoObject _
) 
protected override void OnLayerChanged( 
   GoLayer oldlayer,
   GoLayer newlayer,
   GoObject mainObj
)

Parameters

oldlayer
newlayer
mainObj
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

GoControl Class
GoControl Members
Base Implementation in OnLayerChanged

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback