GoDiagram Win Reference
DisposeControl Method

This method is called when a Control created by CreateControl needs to be removed from a view.
Syntax
'Declaration
 
Public Overridable Sub DisposeControl( _
   ByVal comp As Control, _
   ByVal view As GoView _
) 
public virtual void DisposeControl( 
   Control comp,
   GoView view
)

Parameters

comp
view
Remarks
By default this also calls Control.Dispose(). If the view is in "edit" mode using this GoControl, the Control is removed and disposed by the view, after EditControl is set to null.
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

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback