I try to set a background color for my panels like this:
But it doesn't work....why?
Code:
Private Sub Panel14_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Panel2.Paint
Panel2.BackColor = Color.LightGreen
End Sub
Comment