hi! i have a C# GUI application and on the main form (size of about 800x600) i have a picture as a background (through the form properites) - but it makes redrawing the form veeeery slow ! any advice how i can make it faster?
thanx
Add the picture file as Embedded Resource and should not be "veeeery slow"!.
Do the following:
In the Solution Explorer, locate the picture file (that you want to use as background) from the the projects items. If that file is not there add it as an existing item, let refer it by "file1.bmp".
On the Property window of the "file1.bmp" entry , set Build Action->Embedded Resource.
-obislavu-
hmmm... im using jpeg, but should it matter really? i mean - on runtime it should be decompresed anyway...
however i changed the resolution, and maybe there really is a slight improvement
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.