.NET framework poor performance

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
 
yeah i suppose the .net framework isnt that bad, i just dont like winforms. Unfortunately i cant rescale the image anymore because it is a map of an area of england and i have already scaled it down by a factor of 4 (it was 8000x8000) which is just about readable but any lower and its pointless. I was thinking of loading in part of it and when you scroll it loads the next part from memory, would that be any good?
 
Back
Top Bottom