This question is locked. New answers and comments are not allowed.
Hi All
I have a redWautingBar on a radForm.
When I initiate a long running task I call StartWait and every 10 time round the loop call the Refresh() method.
if(visible) radWaitingBar1.StartWaiting();
else radWaitingBar1.EndWaiting();
radWaitingBar1.Visible = visible;
void s_UpdateStatus(string status, int progress)
{
if ((progress % 10) == 0)
{
radWaitingBar1.Refresh();
this.Refresh();
}
}
However the control doesn't scroll untill the process is over.
The stock .Net control works but looks nowhere as good.
Where have I gone wrong?!
Thanks in advance
I have a redWautingBar on a radForm.
When I initiate a long running task I call StartWait and every 10 time round the loop call the Refresh() method.
if(visible) radWaitingBar1.StartWaiting();
else radWaitingBar1.EndWaiting();
radWaitingBar1.Visible = visible;
void s_UpdateStatus(string status, int progress)
{
if ((progress % 10) == 0)
{
radWaitingBar1.Refresh();
this.Refresh();
}
}
However the control doesn't scroll untill the process is over.
The stock .Net control works but looks nowhere as good.
Where have I gone wrong?!
Thanks in advance