المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Showing a continuously *******ed form during calculations



C# Programming
05-19-2010, 06:20 PM
Hi there!

I've got a question which I haven't been able to solve.
I have a code which involves a huge load of calculations. To keep track of where I am in the calculations I do some "this.*******()"-es in my code and I also update some labels.
Regardless, if I click to another application and click my app again, the form is just blank again and it's not *******ed at all. Also when I don't change to another application my form stops *******ing after some calculations. For example say my app does a calculation 100 times and it keeps the user updated about the number of calculations done. I kept looking at it and after the counter (label) reached say 53 it just stopped *******ing.
When I write 'huge load of calculations' I really mean it. The last run took 13 minutes.

So do you have any suggestions? It'd be great to improve my apps.
Thanks a lot!
Han