|
FormExtensionsRestoreLayout Method
|
Restores the size and location of the specified windowsForm from the size and location information saved in the
application configuration file.
Namespace: GSF.Windows.FormsAssembly: GSF.Windows (in GSF.Windows.dll) Version: 2.4.230-beta
Syntaxpublic static void RestoreLayout(
this Form windowsForm
)
<ExtensionAttribute>
Public Shared Sub RestoreLayout (
windowsForm As Form
)
public:
[ExtensionAttribute]
static void RestoreLayout(
Form^ windowsForm
)
[<ExtensionAttribute>]
static member RestoreLayout :
windowsForm : Form -> unit
GSF.Windows.Forms.FormExtensions.RestoreLayout = function(windowsForm);
View SourceParameters
- windowsForm Form
- The Form whose size and location is to be restored.
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).
RemarksThis function simply calls the RestoreWindowSize and RestoreWindowLocation functions using the default settings categories
See Also