Last active
February 2, 2018 13:26
-
-
Save Willy-Kimura/2a4fca8aecc78eb187832a344871bc22 to your computer and use it in GitHub Desktop.
Events designed to modify the Form's cursor at movements during runtime.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Imports System | |
Imports System.Windows.Forms | |
Namespace BunifuDragForm | |
Partial Public Class Form1 | |
Inherits Form | |
Public Sub New() | |
InitializeComponent() | |
End Sub | |
Private Sub panel1_MouseDown(ByVal sender As Object, ByVal e As MouseEventArgs) | |
Me.Cursor = Cursors.SizeAll | |
End Sub | |
Private Sub panel1_MouseUp(ByVal sender As Object, ByVal e As MouseEventArgs) | |
Me.Cursor = Cursors.Default | |
End Sub | |
End Class | |
End Namespace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment