C# 클래스 Nexus.Client.Settings.WindowPositions

Stores the position of windows.
상속: IXmlSerializable
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

공개 메소드들

메소드 설명
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