Click or drag to resize

FormExtensions Class

Extensions applied to all System.Windows.Forms.Form objects.
Inheritance Hierarchy
SystemObject
  GSF.Windows.FormsFormExtensions

Namespace: GSF.Windows.Forms
Assembly: GSF.Windows (in GSF.Windows.dll) Version: 2.4.218-beta
Syntax
public static class FormExtensions
View Source

The FormExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodRestoreLayout Restores the size and location of the specified windowsForm from the size and location information saved in the application configuration file.
Public Extension MethodRestoreLocation(Form) Restores the location of the specified windowsForm from the location information saved in the application configuration file.
Public Extension MethodRestoreLocation(Form, String) Restores the location of the specified windowsForm from the location information saved in the application configuration file.
Public Extension MethodRestoreSize(Form) Restores the size of the specified windowsForm from the size information saved in the application configuration file.
Public Extension MethodRestoreSize(Form, String) Restores the size of the specified windowsForm from the size information saved in the application configuration file.
Public Extension MethodSaveLayout Saves the size and location information of the specified windowsForm to the application configuration file.
Public Extension MethodSaveLocation(Form) Saves the location information of the specified windowsForm to the application configuration file.
Public Extension MethodSaveLocation(Form, String) Saves the location information of the specified windowsForm to the application configuration file.
Public Extension MethodSaveSize(Form) Saves the size information of the specified windowsForm to the application configuration file.
Public Extension MethodSaveSize(Form, String) Saves the size information of the specified windowsForm to the application configuration file.
Top
Fields
 NameDescription
Public fieldStatic memberLastWindowLocationSettingsCategory Config file category under which the window location information will be saved.
Public fieldStatic memberLastWindowSizeSettingsCategory Config file category under which the window size information will be saved.
Top
See Also