Winston
Junior Contributor
hey guys in app i use the following code to paint a panel
but wen i added a panel to my splash form it just doesnt paint
any ideas why?...
[edit]That code is not PHP...[/edit]
Visual Basic:
Dim g As Graphics = e.Graphics
Dim tempRect As Rectangle = New Rectangle(0, 0, PANEL.Width, PANEL.Height)
Dim tempBrush As System.Drawing.Drawing2D.LinearGradientBrush = _
New System.Drawing.Drawing2D.LinearGradientBrush(tempRect, COLOR1, COLOR2, System.Drawing.Drawing2D.LinearGradientMode.Horizontal)
g.FillRectangle(tempBrush, tempRect)
but wen i added a panel to my splash form it just doesnt paint
any ideas why?...
[edit]That code is not PHP...[/edit]
Last edited by a moderator: