This creates pagination functionality for WinForms DataGridView