Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / DropDownButton Class / Dispose Method / Dispose(Boolean) Method
true to release both managed and unmanaged resources; false to release only unmanaged resources.


In This Topic
    Dispose(Boolean) Method
    In This Topic
    Releases the unmanaged resources used by the System.ComponentModel.Component and optionally releases the managed resources.
    Syntax
    'Declaration
     
    
    Protected Overloads Sub Dispose( _
       ByVal disposing As Boolean _
    ) 
    'Usage
     
    
    Dim instance As DropDownButton
    Dim disposing As Boolean
     
    instance.Dispose(disposing)
    protected void Dispose( 
       bool disposing
    )

    Parameters

    disposing
    true to release both managed and unmanaged resources; false to release only unmanaged resources.
    Remarks
    Call SideButtonBase.Dispose when you are finished using the System.Windows.Forms.Control. The Dispose method leaves the System.Windows.Forms.Control in an unusable state. After calling SideButtonBase.Dispose, you must release all references to the System.Windows.Forms.Control so the garbage collector can reclaim the memory that the System.Windows.Forms.Control was occupying.
    See Also