11-14-2010, 12:04 PM
Don't use a timer. If you have have it changing throughout your program just use this
Code:
Private Sub Button1_EnabledChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.EnabledChanged
If Button1.Enabled = True Then
Button2.Enabled = True
Else
Button2.Enabled = False
End If
End Sub
I code at http://tech.reboot.pro