|
FormExtensionsSaveLocation(Form, String) Method
|
Saves the location information of the specified windowsForm to the application configuration file.
Namespace: GSF.Windows.FormsAssembly: GSF.Windows (in GSF.Windows.dll) Version: 2.4.230-beta
Syntaxpublic static void SaveLocation(
this Form windowsForm,
string settingsCategory
)
<ExtensionAttribute>
Public Shared Sub SaveLocation (
windowsForm As Form,
settingsCategory As String
)
public:
[ExtensionAttribute]
static void SaveLocation(
Form^ windowsForm,
String^ settingsCategory
)
[<ExtensionAttribute>]
static member SaveLocation :
windowsForm : Form *
settingsCategory : string -> unit
GSF.Windows.Forms.FormExtensions.SaveLocation = function(windowsForm, settingsCategory);
View SourceParameters
- windowsForm Form
- The Form whose location information is to be saved.
- 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