Associate
- Joined
- 14 Apr 2003
- Posts
- 1,101
Hi,
Ive been developing an application with c#.net and was really happy with it until i noticed how annoyingly long it takes to redraw everything. I changed from using system colours to my own gui (which is nothing more than a solid background with a border) and now when you move a form around you can see it lagging.
Part of my program uses a 2000x2000 image which is drawn in a picturebox contained within a panel (for the use of its auto scroll) and when dragging a form across that its just awful!! I noticed that whilst redrawing the program uses up 99% of the processor sometimes, which may account for the poor performance...
Anyway not so much a question as a rant about the shoddy performance of .NET, my program isnt as complex as some comercial programs and they redraw themselves ok.
Maybe im doing something wrong so any advice would be helpful, otherwise what are your opinions on the .net framework (i used to love it)
Matt
Ive been developing an application with c#.net and was really happy with it until i noticed how annoyingly long it takes to redraw everything. I changed from using system colours to my own gui (which is nothing more than a solid background with a border) and now when you move a form around you can see it lagging.
Part of my program uses a 2000x2000 image which is drawn in a picturebox contained within a panel (for the use of its auto scroll) and when dragging a form across that its just awful!! I noticed that whilst redrawing the program uses up 99% of the processor sometimes, which may account for the poor performance...
Anyway not so much a question as a rant about the shoddy performance of .NET, my program isnt as complex as some comercial programs and they redraw themselves ok.
Maybe im doing something wrong so any advice would be helpful, otherwise what are your opinions on the .net framework (i used to love it)
Matt