|
FormExtensionsRestoreSize(Form, String) Method
|
Restores the size of the specified windowsForm from the size information saved in the application configuration file.
Namespace: GSF.Windows.FormsAssembly: GSF.Windows (in GSF.Windows.dll) Version: 2.4.182-beta
Syntax public static void RestoreSize(
this Form windowsForm,
string settingsCategory
)
GSF.Windows.Forms.FormExtensions.RestoreSize = function(windowsForm, settingsCategory);
View SourceParameters
- windowsForm Form
- The Form whose size is to be restored.
- settingsCategory String
- Settings category used to persist form size 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