Exemple #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();
 }
Exemple #2
0
 private void NeoFlyData_LoadStarted(object sender, NeoFlyDataLoadEventArgs e)
 {
     tspbLoad.Maximum = e.RowCount;
 }