The last couple of times this issue has come up, it was drawing code that needed to be improved to prevent infinite events. In other words, check to make sure your Paint code only draws and isn’t inadvertently causing a Paint loop.
2 Likes