c# - Import/Setting background image to windows form cause run slow -
i import background image every forms in project programs runs slow?
how can fix this?
the format image png.
any things consider in doing this? solve issue? thanks!
in form,set property doublebuffered
true
buffered graphics require updated graphics data first written buffer. data in graphics buffer written displayed surface memory. relatively quick switch of displayed graphics memory typically reduces flicker can otherwise occur.
instead of using png
format use jpeg
format quality 12(final image quality png
format),your image size decrease , form load faster.
Comments
Post a Comment