+92 332 4229 857 99ProjectIdeas@Gmail.com

Form drag enter event (Vb.net)


Form Drag Enter Event

Form Drag Enter is an event which is fired when something when is being dragged enters the form. You can do anything under this event.
Below is the example, which displays a message in a message box that the dragged thing has entered the form:

Source code for Form Drag Enter Event in Vb.net

Private Sub Form1_DragEnter(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles Me.DragEnter
MsgBox("The dragged thing is entered the form")   
End Sub

0 comments: