Exemplo n.º 1
0
 private void ResetProgressBar()
 {
     PBarLoading.Value = 0;
     if (TBarSpeed.Value > 0)
     {
         PBarLoading.Step = TmrLoading.Interval * (PBarLoading.Maximum / TBarSpeed.Value) / 1000;
         PBarLoading.PerformStep();
     }
 }
Exemplo n.º 2
0
 private void TmrLoading_Tick(object sender, EventArgs e)
 {
     PBarLoading.PerformStep();
 }