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