C# Class NFe.Components.XMLIniFile

ファイルを表示 Open project: akretion/uninfe Class Usage Examples

Public Methods

Method Description
AddValue ( XmlNode node, string Path, string Section, string value ) : void
CenterForm ( Form xform ) : void
DeleteValue ( string Path, string ValueSection ) : void
FullPathNode ( XmlNode node ) : string
GetPathNode ( string NodePath, bool CanCreate ) : XmlNode
LoadForm ( Form xform, string aSection, bool forcaleitura ) : bool
ReadValue ( string Path, string ValueSection, System.DateTime Default ) : System.DateTime
ReadValue ( string Path, string ValueSection, Int32 Default ) : Int32
ReadValue ( string Path, string ValueSection, System.Single Default ) : System.Single
ReadValue ( string Path, string ValueSection, bool Default ) : bool
ReadValue ( string Path, string ValueSection, double Default ) : double
ReadValue ( string Path, string ValueSection, string Default ) : string
Save ( ) : void
SaveAs ( string filename ) : void
SaveForm ( Form xform, string aSection ) : void
ValueExists ( string Path, string ValueSection ) : bool
WriteValue ( string Path, string ValueSection, double Value ) : void
WriteValue ( string Path, string ValueSection, string Value ) : void
XMLIniFile ( ) : System
XMLIniFile ( string filename ) : System
XMLIniFile ( string aaDocElementname, int aaVersion, Store aaStore ) : System
XMLIniFile ( string aaDocElementname, int aaVersion, Store aaStore, string filename ) : System

Protected Methods

Method Description
CheckInitialized ( ) : void
ConvertToOEM ( string FBuffer ) : string
ParseString ( string s ) : ArrayList
ReadThisValue ( string Path, string ValueSection ) : string
ReadThisValue ( string Path, string ValueSection, string Default ) : string
WriteThisValue ( string Path, string ValueSection, string Value ) : void
_FindNode ( XmlNode _RootNode, string _Nodename ) : XmlNode

Private Methods

Method Description
Translate ( string Value ) : string

Method Details

AddValue() public method

public AddValue ( XmlNode node, string Path, string Section, string value ) : void
node System.Xml.XmlNode
Path string
Section string
value string
return void

CenterForm() public method

public CenterForm ( Form xform ) : void
xform System.Windows.Forms.Form
return void

CheckInitialized() protected method

protected CheckInitialized ( ) : void
return void

ConvertToOEM() protected method

protected ConvertToOEM ( string FBuffer ) : string
FBuffer string
return string

DeleteValue() public method

public DeleteValue ( string Path, string ValueSection ) : void
Path string
ValueSection string
return void

FullPathNode() public method

public FullPathNode ( XmlNode node ) : string
node System.Xml.XmlNode
return string

GetPathNode() public method

public GetPathNode ( string NodePath, bool CanCreate ) : XmlNode
NodePath string
CanCreate bool
return System.Xml.XmlNode

LoadForm() public method

public LoadForm ( Form xform, string aSection, bool forcaleitura ) : bool
xform System.Windows.Forms.Form
aSection string
forcaleitura bool
return bool

ParseString() protected method

protected ParseString ( string s ) : ArrayList
s string
return System.Collections.ArrayList

ReadThisValue() protected method

protected ReadThisValue ( string Path, string ValueSection ) : string
Path string
ValueSection string
return string

ReadThisValue() protected method

protected ReadThisValue ( string Path, string ValueSection, string Default ) : string
Path string
ValueSection string
Default string
return string

ReadValue() public method

public ReadValue ( string Path, string ValueSection, System.DateTime Default ) : System.DateTime
Path string
ValueSection string
Default System.DateTime
return System.DateTime

ReadValue() public method

public ReadValue ( string Path, string ValueSection, Int32 Default ) : Int32
Path string
ValueSection string
Default System.Int32
return System.Int32

ReadValue() public method

public ReadValue ( string Path, string ValueSection, System.Single Default ) : System.Single
Path string
ValueSection string
Default System.Single
return System.Single

ReadValue() public method

public ReadValue ( string Path, string ValueSection, bool Default ) : bool
Path string
ValueSection string
Default bool
return bool

ReadValue() public method

public ReadValue ( string Path, string ValueSection, double Default ) : double
Path string
ValueSection string
Default double
return double

ReadValue() public method

public ReadValue ( string Path, string ValueSection, string Default ) : string
Path string
ValueSection string
Default string
return string

Save() public method

public Save ( ) : void
return void

SaveAs() public method

public SaveAs ( string filename ) : void
filename string
return void

SaveForm() public method

public SaveForm ( Form xform, string aSection ) : void
xform System.Windows.Forms.Form
aSection string
return void

ValueExists() public method

public ValueExists ( string Path, string ValueSection ) : bool
Path string
ValueSection string
return bool

WriteThisValue() protected method

protected WriteThisValue ( string Path, string ValueSection, string Value ) : void
Path string
ValueSection string
Value string
return void

WriteValue() public method

public WriteValue ( string Path, string ValueSection, double Value ) : void
Path string
ValueSection string
Value double
return void

WriteValue() public method

public WriteValue ( string Path, string ValueSection, string Value ) : void
Path string
ValueSection string
Value string
return void

XMLIniFile() public method

public XMLIniFile ( ) : System
return System

XMLIniFile() public method

public XMLIniFile ( string filename ) : System
filename string
return System

XMLIniFile() public method

public XMLIniFile ( string aaDocElementname, int aaVersion, Store aaStore ) : System
aaDocElementname string
aaVersion int
aaStore Store
return System

XMLIniFile() public method

public XMLIniFile ( string aaDocElementname, int aaVersion, Store aaStore, string filename ) : System
aaDocElementname string
aaVersion int
aaStore Store
filename string
return System

_FindNode() protected method

protected _FindNode ( XmlNode _RootNode, string _Nodename ) : XmlNode
_RootNode System.Xml.XmlNode
_Nodename string
return System.Xml.XmlNode