BTW : GUI means graphic user interface if u didnt know
u can use custom themes, or u can make ur own like i do
1. make a form
2. formborderstyle = none
3. make 4 pictureboxes, and 2 timers (a button for closing is optional)
#1 dock = top
#2 dock = bottom
#3 dock = left
#4 dock = right
timer1.interval = 1, enabled = false
timer2.interval = 2, enabled = true(only add this if your adding exit button)
4. double click form
declare mouse position and form position
Code:
Dim loc As New Point(0, 0)
Dim cur As New Point(0, 0)
5. add a private sub
Code:
Private Sub def()
loc = Location
cur = Cursor.Position
End Sub
6. go back to design and go to picturebox1 and double click
add functions (mouseup and mousedown)
or just add this
Code:
Private Sub PictureBox1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseDown
timer1.start()
def()
timer1.enabled = True
End Sub
Private Sub PictureBox1_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseUp
Timer1.Stop()
def()
timer1.enabled = False
End Sub
after adding the picturebox.mouseup and mousedown, do this to the 3 other pictureboxes (optional)
7. go to timer1 and add this to make the form location move to mouse position
Code:
Location = loc - cur + Cursor.Position
8.Test and if working enjoy
