I'm not understanding why it fails to update in another thread correctly if the process is running fast. Example
If I do this, this will freeze the progress bar until its completed. It will get to a certain spot then stop.
If i do this
using a custom invoke it works just fine. I dont understand why it doesnt work correctly with the build in feature. This is also happening on the status progress bar as well.. Here is a quick app source.
Also it seems to work with the built in features using Win7 or above, Its freezing on windows xp sp3
Edit: Never mind i can not attach rar, or .zip to this thread.
Uploading a video to demonstrate.
If I do this, this will freeze the progress bar until its completed. It will get to a certain spot then stop.
radProgressBar2.Maximum = 1500;
for (var i = 1; i < 1500; i++)
{
var p = i;
radProgressBar2.Value1 = p;
Thread.Sleep((int)numericUpDown1.Value);
}
radProgressBar2.Value1 = 0;
radProgressBar2.Text = "Task Completed!";
If i do this
radProgressBar1.Maximum = 1500;
for (var i = 1; i <
1500
; i++)
{
var
p
=
i
;
radProgressBar1.SafeInvoke(() => radProgressBar1.Value1 = p, false);
Thread.Sleep((int) numericUpDown1.Value);
}
using a custom invoke it works just fine. I dont understand why it doesnt work correctly with the build in feature. This is also happening on the status progress bar as well.. Here is a quick app source.
Also it seems to work with the built in features using Win7 or above, Its freezing on windows xp sp3
Edit: Never mind i can not attach rar, or .zip to this thread.
Uploading a video to demonstrate.