C# Класс Nexus.Client.Settings.WindowPositions

Stores the position of windows.
Наследование: IXmlSerializable
Показать файл Открыть проект

Открытые методы

Метод Описание
GetSchema ( ) : XmlSchema

This method is reserved, and returns as required.

GetWindowPosition ( string p_strWindowName, Form p_frmWindow ) : void

Sets the given window's position based on the stored values.

ReadXml ( XmlReader reader ) : void

Deserializes the object from XML.

SetWindowPosition ( string p_strWindowName, Form p_frmWindow ) : void

Stores the given window's position using the given name.

WriteXml ( XmlWriter writer ) : void

Serializes the object to XML.

Описание методов

GetSchema() публичный Метод

This method is reserved, and returns as required.
public GetSchema ( ) : XmlSchema
Результат System.Xml.Schema.XmlSchema

GetWindowPosition() публичный Метод

Sets the given window's position based on the stored values.
public GetWindowPosition ( string p_strWindowName, Form p_frmWindow ) : void
p_strWindowName string The name of the window settings to use to position the given window.
p_frmWindow System.Windows.Forms.Form The window to position.
Результат void

ReadXml() публичный Метод

Deserializes the object from XML.
public ReadXml ( XmlReader reader ) : void
reader System.Xml.XmlReader The xml reader from which to deserialize the object.
Результат void

SetWindowPosition() публичный Метод

Stores the given window's position using the given name.
public SetWindowPosition ( string p_strWindowName, Form p_frmWindow ) : void
p_strWindowName string The name under which to store the window settings.
p_frmWindow System.Windows.Forms.Form The window whose settings are to be stored.
Результат void

WriteXml() публичный Метод

Serializes the object to XML.
public WriteXml ( XmlWriter writer ) : void
writer System.Xml.XmlWriter The xml writer to which to serialize the object.
Результат void