Dock = DockStyle.Fill; Controls.Add(dataGridView1); Width *= 2; Text = " DataGridView Sizing Scenarios" ...
msdn.microsoft.com