Using a ProgressBar control
Hiya all.
I recenlty made a cheezy test program to just roll dice. I put a ProgressBar control to show give the end user an idea of how many rolls are left.
Well, I noticed that when I tried to do 10000 consecutive rolls, the program slows waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay down. When I had this all setup as a console app, it screamed no matter how many times I tried to roll the die. I'm guessing this perf hit is because of the UI in general, but is there anything I can do to speed this up? Is this something that someone would use threading on to improve perf?
Thanks in advance to anyone who answers. :)