24 updates per second

Jorn  Theunissen

Jorn Theunissen

Nov 2 2011 3:24 PM
HI all,

I am making an editor in C# with visual studio 2010. This editor draws simple shapes like rectangles to a picturebox. You can drag these rectangles around in the picturebox. This last part doesn't look to good. Since visual studio is more event based then updates per second it's not that weird. The drawing goes with a lot of stuttering and is not consistent.

I want to know if it is possible create a constant 24 updates per second to achieve a smoother drawing flow. Does anybody have a suggestion on how to solve this?

Thanks in advance.

Answers (2)