Progressbar updation problem
- From: "Chintan" <chintan.groups@xxxxxxxxx>
- Date: 19 Apr 2005 22:31:23 -0700
HI,
I am getting problem with splash screen showing while some other
process is going on. I have a timer which is not getting fired at the
interval set, when the long process is running on.
My code looks something like this,
btn_Click(object sender, System.EventArgs e)
{
timer1.Interval=100;
timer1.enabled=true;
panel1.visible=true;
// Some long running process
// While this process is going on i want to show progress bar updating
}
private void timer1_Tick(object sender, System.EventArgs e)
{
if (panel1.Visible == true)
{
if(progressBar1.Value==10)
{
progressBar1.Value=0;
}
progressBar1.Value = progressBar1.Value + 1;
}
}
So, while the long running process is going on, after every 100
milliseconds, the timer1_Tick should fire, and update the progressbar,
but the event is not getting fired at all. What am i doing wrong? How
can i solve the problem?
Thanks in Advance.
.
- Follow-Ups:
- Re: Progressbar updation problem
- From: Sergey Bogdanov
- Re: Progressbar updation problem
- From: Stephany Young
- Re: Progressbar updation problem
- Prev by Date: Re: Displaying multiple forms
- Next by Date: How to parse SMIL data in MMS message body?
- Previous by thread: XMLTextReader Problem
- Next by thread: Re: Progressbar updation problem
- Index(es):
Relevant Pages
|