diff --git a/Base/ScreenEx.vb b/Base/ScreenEx.vb index 89db63e7..d70f15ca 100644 --- a/Base/ScreenEx.vb +++ b/Base/ScreenEx.vb @@ -49,7 +49,7 @@ Public Class ScreenEx RestoreFormState(pForm, oFormState) 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 If pFormSize.Height < 1 Or pFormSize.Width < 1 Or pFormSize.IsEmpty Then oFormSize = New Size(DEFAULT_WINDOW_WIDTH, DEFAULT_WINDOW_HEIGHT)