2 Commits

Author SHA1 Message Date
Jonathan Jenne
11bf529b57 jj 2020-09-07 17:34:57 +02:00
Jonathan Jenne
0066a779d3 jj 2020-09-07 17:31:07 +02:00
3 changed files with 15 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -19,11 +19,23 @@ Public Class frmFlowForm_Test1
TopMost = True
AllowDrop = True
ShowInTaskbar = False
Opacity = OPACITY_HIDDEN
Opacity = OPACITY_SHOWN
SetFormLocation()
AddHandler KeyDown, AddressOf frmFlowForm_KeyDown
AddHandler KeyUp, AddressOf frmFlowForm_KeyDown
For Each oControl As Control In Controls
AddHandler oControl.MouseHover, AddressOf frmFlowForm_MouseHover
AddHandler oControl.MouseLeave, AddressOf frmFlowForm_MouseLeave
Next
End Sub
Protected Overrides Sub OnPaint(e As PaintEventArgs)
'MyBase.OnPaint(e)
Dim oShape As New Drawing2D.GraphicsPath()
oShape.AddEllipse(0, 0, Width, Height)
Region = New Region(oShape)
End Sub
Public Sub SetFormLocation()
@@ -31,11 +43,11 @@ Public Class frmFlowForm_Test1
End Sub
Private Sub frmFlowForm_MouseLeave(sender As Object, e As EventArgs) Handles Me.MouseLeave
Opacity = OPACITY_HIDDEN
'Opacity = OPACITY_HIDDEN
End Sub
Private Sub frmFlowForm_MouseHover(sender As Object, e As EventArgs) Handles Me.MouseHover
Opacity = OPACITY_SHOWN
' Opacity = OPACITY_SHOWN
End Sub
Private Sub frmFlowForm_MouseMove(ByVal sender As Object, ByVal e As MouseEventArgs) Handles Me.MouseMove