关于picturebox画图移动的问题
我用picturebox画了一堆图,在实现图形移动的时候在picturebox_MouseMove事件中获取新的ScaleTop和 ScaleLeft 然后重绘picturebox,这样的话画的图形越多,移动起来越慢越卡,有没有高手有好一点的办法解决这个问题?万分感谢!!
Private Declare Function LockWindowUpdate Lib "user32" Alias "LockWindowUpdate" (ByVal hWndLock As Long) As Long
LockWindowUpdate me.hwnd
...
LockWindowUpdate 0& '试试看吧!