My current program creates an extremely high CPU load while it is loading. During its loading procedure I have a small animation, but unfortunately due to the high CPU load the animation does about 2 frames and then 'hangs' until the program has finished its load procedure.
Is there any way to force the animation to continue? I have tried using "this.Refresh()" during the for loops but that does not help. Adding a breakpoint inside the timer I see that the counter managing the animation does not increment until after the loading procedure.
Can I somehow limit the amount of Processor usage my program will take? Or Is there any way to force this animation to change frames?