Hello,
I have a winform that looks beautiful. All the panels have bacground
images. I even have rollover buttons for the main navigation. My
problem is that it loads slower than a "plain" winform app. Also when
minimizing the form and switching back to my application it has "blank
sections" that occur for a few moments. Right now my application is
just a shell, there is no "programming code". All the code has been
done in the forms designer except for the rollovers.
What can I do to
1) optimize the performance overall of the application
2) make repaints quicker
3) generally run faster
Right now the only way I know to "optimize" the application is (a)
write efficient code and (b)Setting the "Configuration" to "Release"
and (c) setting "Optimize Code" to "true".
Thanks,
Tom
Tim_Mac - 30 Mar 2005 10:49 GMT
you could try jpeg optimisation of your background images? this should
make it quicker to process loading and repainting.
codeproject have a few articles on splash screens, e.g.
http://www.codeproject.com/csharp/PrettyGoodSplashScreen.asp
but this will incur a loading overhead of its own. perhaps a
simplified splash screen would be good. think of all the MS office
products, they have a very simple splash loading screen. if you're app
is taking a while to load, maybe you should use one too.
hope this helps
tim
thomasamillergoogle@yahoo.com - 02 Apr 2005 01:43 GMT
Yes, all the bacground images are PNG. Any other ideas?
Tim_Mac - 02 Apr 2005 17:53 GMT
you could post your roll-over code here and some of the graphics
experts might be able to suggest some efficiency improvements.
tim