Disposes of the resources (other than memory) used by the System.Windows.Forms.DataGrid.
Call DataGrid.Dispose(bool) when you are finished using the System.Windows.Forms.DataGrid. The DataGrid.Dispose(bool) method leaves the System.Windows.Forms.DataGrid in an unusable state. After calling DataGrid.Dispose(bool), you must release all references to the System.Windows.Forms.DataGrid so the memory it was occupying can be reclaimed by garbage collection.