Base: fix typo

This commit is contained in:
Jonathan Jenne 2023-06-16 11:23:52 +02:00
parent 7625f2d2e3
commit 1c5cc2e6fc

View File

@ -49,7 +49,7 @@ Public Class ScreenEx
RestoreFormState(pForm, oFormState) RestoreFormState(pForm, oFormState)
End Sub End Sub
Public Shared Sub RestoreWindowSize(pForm As Form, pFormSize As Size) Public Shared Sub RestoreFormSize(pForm As Form, pFormSize As Size)
Dim oFormSize As Size Dim oFormSize As Size
If pFormSize.Height < 1 Or pFormSize.Width < 1 Or pFormSize.IsEmpty Then If pFormSize.Height < 1 Or pFormSize.Width < 1 Or pFormSize.IsEmpty Then
oFormSize = New Size(DEFAULT_WINDOW_WIDTH, DEFAULT_WINDOW_HEIGHT) oFormSize = New Size(DEFAULT_WINDOW_WIDTH, DEFAULT_WINDOW_HEIGHT)