PictureBox.Refresh() is slow when drawing in a PictureBox
I h开发者_如何学编程ave a Windows Form Application in Visual Studio 2008 - PictureBox.Refesh() method causes a delay when drawing on a PictureBox. Is there any method that gives the same result without delay?
Without delay? Invalidate() works too, but remember... don't use refresh() on the whole form, specify it... Maybe that's causing the delay (I don't see delays like that, are you reading the image from where?)
EDIT: I was building a project and PNG's 8-bit alpha blending was not playing nice with winforms. Open my app and see if you have that flickering when you resize:
http://www.mediafire.com/?rnj25my2ygd
i have solved my problem my self
i just set a timer and on its event i have updated my image and the timer interval is set as i desired to 100 miliseconds now my application is running so smoothly any one up with this problem try this it works for me
regards:
精彩评论