The System.Windows.Forms.DataGridView.RefreshColumns() method calls boundColumns = this.dataConnection.GetCollectionOfBoundDataGridViewColumns() even when AutoGenerateColumns is false. This causes the instantiation of numerous DataGridViewColumn objects that simply fall out of scope. It would seem like this call should be moved inside the AutoGenerateColumns check.
Visual Studio/Team Foundation Server/.NET Framework Tooling Version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results