I had this problem too and i solved it by creating a class that inherits from Panel and added the following code
Public Class myPanel
Inherits Panel
Public Sub New()
MyBase.New()
Me.SetStyle(ControlStyles.UserPaint, True)
Me.SetStyle(ControlStyles.AllPaintingInWmPaint, True)
Me.SetStyle(ControlStyles.OptimizedDoubleBuffer, True)
End Sub
Protected Overrides Sub OnScroll(se As ScrollEventArgs)
Me.Invalidate()
MyBase.OnScroll(se)
End Sub
Protected Overrides ReadOnly Property CreateParams() As CreateParams
Get
Dim cp As CreateParams = MyBase.CreateParams
cp.ExStyle = cp.ExStyle Or &H2000000
Return cp
End Get
End Property
Do this rebuild your project and use myPanel control insteed of panel control.
That worked for me.
I found this code somewhere in a forum but idont remember where (i hope this is not a problem)