Advertisement
jsauto

CheckBox1_CheckedChanged

Apr 1st, 2013
7,491
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.38 KB | None | 0 0
  1.  Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, _
  2.     ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
  3.         ' Determine the CheckState of the check box.
  4.         If CheckBox1.CheckState = CheckState.Checked Then
  5.             ' If checked, do not allow items to be dragged onto the form.
  6.             Me.AllowDrop = False
  7.         End If
  8. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement