Protected Overrides Sub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs)
MyBase.OnPaint(e)
Dim brush As New LinearGradientBrush(New Point(0, 0), New Point(Width, 0), _
Color.SteelBlue, Color.PowderBlue)
e.Graphics.FillRectangle(brush, Me.ClientRectangle)
End Sub
Right now the code fires off even if nothing is changed on the form and it always seems to fire off 2-3 times in a row. Is there a better place or should I go with a background image. If I do go with a Background image will it fill the menu bar also?