C# Class DataEditorX.Config.MyConfig

配置
Inheritance: DataEditorX.Common.XMLReader
Mostra file Open project: 247321453/DataEditorX Class Usage Examples

Public Methods

Method Description
GetCardInfoFile ( string path ) : string

卡片信息配置文件名

GetLanguageFile ( string path ) : string

语言配置文件名

OpenFileInThis ( string file ) : void
OpenOnExistForm ( string file ) : bool

发送消息打开文件

RunningInstance ( string filename ) : Process
readArea ( string key ) : DataEditorX.Common.Area

读取区域

readBoolean ( string key, bool def = false ) : bool

读取boolean

readFloat ( string key, float def ) : float

读取float值

readInteger ( string key, int def ) : int

读取int值

readIntegers ( string key, int length ) : int[]

读取int数组

readString ( string key ) : string

读取字符串值

Method Details

GetCardInfoFile() public static method

卡片信息配置文件名
public static GetCardInfoFile ( string path ) : string
path string
return string

GetLanguageFile() public static method

语言配置文件名
public static GetLanguageFile ( string path ) : string
path string
return string

OpenFileInThis() public static method

public static OpenFileInThis ( string file ) : void
file string
return void

OpenOnExistForm() public static method

发送消息打开文件
public static OpenOnExistForm ( string file ) : bool
file string
return bool

RunningInstance() public static method

public static RunningInstance ( string filename ) : Process
filename string
return System.Diagnostics.Process

readArea() public static method

读取区域
public static readArea ( string key ) : DataEditorX.Common.Area
key string
return DataEditorX.Common.Area

readBoolean() public static method

读取boolean
public static readBoolean ( string key, bool def = false ) : bool
key string
def bool
return bool

readFloat() public static method

读取float值
public static readFloat ( string key, float def ) : float
key string
def float
return float

readInteger() public static method

读取int值
public static readInteger ( string key, int def ) : int
key string
def int
return int

readIntegers() public static method

读取int数组
public static readIntegers ( string key, int length ) : int[]
key string
length int
return int[]

readString() public static method

读取字符串值
public static readString ( string key ) : string
key string
return string