C# Window Form Application - is there a way to stop Paint to refresh every second or the entire screen;
I am making an application in window form (in .Net of course), and I am using panel.paint event handler to do some extra painting in my controls. However, while using this event, I find out that paint function will keep painting itself and the entire panel(where all my controls are added) almost every second. Is there a way to prevent that? I really need some advice right now as I am experiencing some serious problem in my development. I would like to know is there a way to only paint as I need to? Or is there a way around it?


Thanks in advance.
C# Window Form Application - is there a way to stop Paint to refresh every second or the entire screen;
===

I am making an application in window form (in .Net of course), and I am using panel.paint event handler to do some extra painting in my controls. However, while using this event, I find out that paint function will keep painting itself and the entire panel(where all my controls are added) almost every second. Is there a way to prevent that? I really need some advice right now as I am experiencing some serious problem in my development. I would like to know is there a way to only paint as I need to? Or is there a way around it?


Thanks in advance.