Click or drag to resize

FormExtensionsRestoreLocation(Form, String) Method

Restores the location of the specified windowsForm from the location information saved in the application configuration file.

Namespace: GSF.Windows.Forms
Assembly: GSF.Windows (in GSF.Windows.dll) Version: 2.4.181-beta
Syntax
public static void RestoreLocation(
	this Form windowsForm,
	string settingsCategory
)
View Source

Parameters

windowsForm  Form
The Form whose location is to be restored.
settingsCategory  String
Settings category used to persist form location information

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Form. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also