CodePudding user response:
enclosing dataGridView1. Anchor=((System. Windows. Forms. AnchorStyles) ((((. System. Windows Forms. AnchorStyles. Top | System. Windows, Forms, AnchorStyles. Bottom)
| System. Windows. Forms. AnchorStyles. Left)
. | System. Windows Forms. AnchorStyles. Right)));
CodePudding user response:
Datagridview - layout - Archor set