MS
This commit is contained in:
@@ -121,7 +121,7 @@ Public Class frmFlowForm
|
||||
|
||||
' Now get the screen working area (without taskbar)
|
||||
Dim WorkingRect As Rectangle =
|
||||
Screen.GetWorkingArea(clientForm.ClientRectangle)
|
||||
System.Windows.Forms.Screen.GetWorkingArea(clientForm.ClientRectangle)
|
||||
|
||||
' Left border
|
||||
If NewPosition.x >= WorkingRect.X - mSnapOffset AndAlso
|
||||
@@ -132,7 +132,7 @@ Public Class frmFlowForm
|
||||
' Get screen bounds and taskbar height
|
||||
' (when taskbar is horizontal)
|
||||
Dim ScreenRect As Rectangle =
|
||||
Screen.GetBounds(Screen.PrimaryScreen.Bounds)
|
||||
System.Windows.Forms.Screen.GetBounds(System.Windows.Forms.Screen.PrimaryScreen.Bounds)
|
||||
Dim TaskbarHeight As Integer =
|
||||
ScreenRect.Height - WorkingRect.Height
|
||||
|
||||
|
||||
Reference in New Issue
Block a user