GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoControl Class / OnLayerChanged Method
In This Topic
    OnLayerChanged Method (GoControl)
    In This Topic
    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
    protected override void OnLayerChanged( 
       GoLayer oldlayer,
       GoLayer newlayer,
       GoObject mainObj
    )

    Parameters

    oldlayer
    newlayer
    mainObj
    See Also