Disposes of the resources (other than memory) used by the System.Windows.Forms.PropertyGrid.
Call PropertyGrid.Dispose(bool) when you are finished using the System.Windows.Forms.PropertyGrid. The PropertyGrid.Dispose(bool) method leaves the System.Windows.Forms.PropertyGrid in an unusable state. After calling PropertyGrid.Dispose(bool), you must release all references to the System.Windows.Forms.PropertyGrid so the memory it was occupying can be reclaimed by garbage collection.
Always call PropertyGrid.Dispose(bool) before you release your last reference to the System.Windows.Forms.PropertyGrid. Otherwise, the resources the System.Windows.Forms.PropertyGrid is using will not be freed until garbage collection calls the destructor of System.Windows.Forms.PropertyGrid.