Changing Form BackColor in VB.Net

  • Thread starter Thread starter Lumpierbritches
  • Start date Start date
L

Lumpierbritches

Thank you for your assistance in advance.

I'm trying to change the forms backcolor with a ckBox.

Michael
 
Hi,

Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles CheckBox1.CheckedChanged

If CheckBox1.Checked Then

Me.BackColor = Color.LightBlue

Else

Me.BackColor = Color.Pink

End If

End Sub



Ken
 
Back
Top