示例#1
0
 public PagingManager(GridControl gridControl, LabelControl displayPageNumber, ComboBoxEdit cmbPageSize, RandomDataSourceGenerator randomDataSourceGenerator)
 {
     _gridControl = gridControl;
     _displayPageNumber = displayPageNumber;
     _cmbPageSize = cmbPageSize;
     _randomDataSourceGenerator = randomDataSourceGenerator;
     _dataTable = _randomDataSourceGenerator.Generate(300);
     Init();
     LoadPage();
 }
示例#2
0
 public PagingManager(GridControl gridControl, LabelControl displayPageNumber, ComboBoxEdit cmbPageSize, RandomDataSourceGenerator randomDataSourceGenerator)
 {
     _gridControl               = gridControl;
     _displayPageNumber         = displayPageNumber;
     _cmbPageSize               = cmbPageSize;
     _randomDataSourceGenerator = randomDataSourceGenerator;
     _dataTable = _randomDataSourceGenerator.Generate(300);
     Init();
     LoadPage();
 }