Exemplo n.º 1
0
 private void NeoFlyData_LoadProgress(object sender, NeoFlyDataLoadEventArgs e)
 {
     tspbLoad.Value = e.CurrentRow;
     tspbLoad.Value = e.CurrentRow - 1; // Dirty trick to make the progress bar reach 100% https://stackoverflow.com/a/5332770
     Application.DoEvents();
 }
Exemplo n.º 2
0
 private void NeoFlyData_LoadStarted(object sender, NeoFlyDataLoadEventArgs e)
 {
     tspbLoad.Maximum = e.RowCount;
 }