AnomalyNexus
Senior Member
- Joined
- Nov 29, 2009
- Messages
- 710
[Solved] Lag in C# ProgressBar
So I'm trying to get the hang of VS 2010 C# Express (Beta 2) and C# in general.
I've got a form with:
Button toggles MyTimer.enabled, which has:
All works and I'm well chuffed.
However there is lag on the Progressbar between clicking the button and the progressbar starting/stopping. Like 400ms lag.
I don't get where the lag is coming from. Any guesses?
So I'm trying to get the hang of VS 2010 C# Express (Beta 2) and C# in general.
I've got a form with:
- Button
- Timer (100ms)
- Progress Bar
Button toggles MyTimer.enabled, which has:
Code:
private void MyTimer_Tick(object sender, EventArgs e)
{
MyProgressBar.Value++;
}
All works and I'm well chuffed.
However there is lag on the Progressbar between clicking the button and the progressbar starting/stopping. Like 400ms lag.
I don't get where the lag is coming from. Any guesses?
Last edited: