public HGrid() { InitializeComponent(); // Use of the DataGridViewColumnSelector cs = new ColumnSelector(this); rv = new RowEvents(this); rv.MaxHeight = cs.MaxHeight = 100; rv.Width = cs.Width = 110; }