create new desktop window
add opening events for window1 and hit this text:
Var agreeBox As New CheckBox
agreeBox.Text = "I agree to the terms"
agreeBox.Left = 20
agreeBox.Top = 60
Var submitBtn As New Button
submitBtn.Text = "Submit"
submitBtn.Left = 20
submitBtn.Top = 100
submitBtn.Enabled = False
Sub agreeBox_CheckedChanged()
submitBtn.Enabled = agreeBox.Checked
End Sub
Self.Add(agreeBox)
Self.Add(submitBtn
run prog, app crash (doesn't like sub method in code)