Hi! I want to want to enable/disable Timer1.Tick when Form1 loads, and i want to to depend to the checkstate of a CheckBox in another form. This is the code I'm using:

Code:
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        If Customize.CheckBox4.CheckState = CheckState.Checked Then
            Timer1.Enabled = False
        ElseIf Customize.CheckBox4.CheckState = CheckState.Unchecked Then
            Timer1.Enabled = True
        End If
    
Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        If Customize.CheckBox7.CheckState = CheckState.Checked Then
            If Me.Opacity <= My.Settings.DefaultOpacity Then
                Me.Opacity = Me.Opacity + 0.1
            End If
        ElseIf Customize.CheckBox7.CheckState = CheckState.Unchecked Then
            If Me.Opacity <= 1 Then
                Me.Opacity = Me.Opacity + 0.1
            End If
        End If
    End Sub
Timer1.Enabled = True

I don't know what's wrong, but it doesn't respond to the Checkbox4.CheckedState. What's wrong with the code?