I wanted to create a DataGridView dynamically, and I did so by basically copying most of the designer code.
While doing it I noticed some lines of code that I frankly don't really understand.
Can someone please explain to me what these 3 things do and why? Thanks!
// 1) BeginInit & EndInit
// 2) Resume and Suspend Layout (If 'this' refers to a form,
// do I need to suspend it if I am not modifying it but
// only a control within it, so I suspend only that control?)
// dgvFile is my DataGridView
// 3) this.PerformLayout()?