C# Class CSKernelClient.cUtil

Show file Open project: javiercrowsoft/CSReports.net

Public Methods

Method Description
arrayToString ( String v ) : String
arrayToString ( int v ) : String
divideByZero ( double x1, double x2 ) : double
existsFile ( String pathYName ) : bool
getComputerName ( ) : String
getEmailAddress ( ) : String
getEmailPort ( ) : int
getEmailPwd ( ) : String
getEmailServer ( ) : String
getEmailUser ( ) : String
getErrorDB ( ) : String
getInfoString ( String source, String key, String defaultValue ) : String
getInput ( string &value, String descrip, String title ) : bool
getSepDecimal ( ) : String
getToken ( string token, string source ) : string
getValidPath ( String path ) : String
listAdd ( ComboBox list, String value ) : void
listAdd ( ComboBox list, String value, int id ) : void
listChangeText ( ComboBox list, int idx, String value ) : void
listChangeTextForSelected ( ComboBox list, String value ) : void
listGetIndexFromItemData ( ComboBox list, int valueItemData ) : int
listID ( ComboBox list ) : long
listItemData ( ComboBox list, int index ) : long
listSetListIndex ( ComboBox list, int idx ) : void
listSetListIndexForId ( ComboBox list, int id ) : void
listSetListIndexForText ( ComboBox list, String text ) : void
mi ( double millimeters ) : double
mp ( int millimeters ) : int
mt ( int millimeters ) : int
pt ( int pixels ) : int
removeLastColon ( String list ) : String
setEmailAddress ( String rhs ) : void
setEmailErrDescrip ( String rhs ) : void
setEmailPort ( int rhs ) : void
setEmailPwd ( String rhs ) : void
setEmailServer ( String rhs ) : void
setEmailUser ( String rhs ) : void
setErrorDB ( String rhs ) : void
setFocusControl ( Control ctl ) : void
setInfoString ( String source, String key, String value ) : String
setSepDecimal ( ) : void
subString ( string text, int start, int length ) : string
tp ( int twips ) : int
val ( object value ) : double
valAsInt ( object value ) : int

Private Methods

Method Description
getDPI ( ) : int
listAdd_ ( ComboBox list, String value ) : void
listAdd_ ( ComboBox list, String value, int id ) : void
listChangeTextForSelected_ ( ComboBox list, String value ) : void
listChangeText_ ( ComboBox list, int idx, String value ) : void
listGetIndexFromItemData_ ( ComboBox list, int valueItemData ) : int
listID_ ( ComboBox list ) : long
listItemData_ ( ComboBox list, int index ) : long
listSetListIndexForId_ ( ComboBox list, int id ) : void
listSetListIndexForText_ ( ComboBox list, String text ) : void
listSetListIndex_ ( ComboBox list, int idx ) : void

Method Details

arrayToString() public static method

public static arrayToString ( String v ) : String
v String
return String

arrayToString() public static method

public static arrayToString ( int v ) : String
v int
return String

divideByZero() public static method

public static divideByZero ( double x1, double x2 ) : double
x1 double
x2 double
return double

existsFile() public static method

public static existsFile ( String pathYName ) : bool
pathYName String
return bool

getComputerName() public static method

public static getComputerName ( ) : String
return String

getEmailAddress() public static method

public static getEmailAddress ( ) : String
return String

getEmailPort() public static method

public static getEmailPort ( ) : int
return int

getEmailPwd() public static method

public static getEmailPwd ( ) : String
return String

getEmailServer() public static method

public static getEmailServer ( ) : String
return String

getEmailUser() public static method

public static getEmailUser ( ) : String
return String

getErrorDB() public static method

public static getErrorDB ( ) : String
return String

getInfoString() public static method

public static getInfoString ( String source, String key, String defaultValue ) : String
source String
key String
defaultValue String
return String

getInput() public static method

public static getInput ( string &value, String descrip, String title ) : bool
value string
descrip String
title String
return bool

getSepDecimal() public static method

public static getSepDecimal ( ) : String
return String

getToken() public static method

public static getToken ( string token, string source ) : string
token string
source string
return string

getValidPath() public static method

public static getValidPath ( String path ) : String
path String
return String

listAdd() public static method

public static listAdd ( ComboBox list, String value ) : void
list System.Windows.Forms.ComboBox
value String
return void

listAdd() public static method

public static listAdd ( ComboBox list, String value, int id ) : void
list System.Windows.Forms.ComboBox
value String
id int
return void

listChangeText() public static method

public static listChangeText ( ComboBox list, int idx, String value ) : void
list System.Windows.Forms.ComboBox
idx int
value String
return void

listChangeTextForSelected() public static method

public static listChangeTextForSelected ( ComboBox list, String value ) : void
list System.Windows.Forms.ComboBox
value String
return void

listGetIndexFromItemData() public static method

public static listGetIndexFromItemData ( ComboBox list, int valueItemData ) : int
list System.Windows.Forms.ComboBox
valueItemData int
return int

listID() public static method

public static listID ( ComboBox list ) : long
list System.Windows.Forms.ComboBox
return long

listItemData() public static method

public static listItemData ( ComboBox list, int index ) : long
list System.Windows.Forms.ComboBox
index int
return long

listSetListIndex() public static method

public static listSetListIndex ( ComboBox list, int idx ) : void
list System.Windows.Forms.ComboBox
idx int
return void

listSetListIndexForId() public static method

public static listSetListIndexForId ( ComboBox list, int id ) : void
list System.Windows.Forms.ComboBox
id int
return void

listSetListIndexForText() public static method

public static listSetListIndexForText ( ComboBox list, String text ) : void
list System.Windows.Forms.ComboBox
text String
return void

mi() public static method

public static mi ( double millimeters ) : double
millimeters double
return double

mp() public static method

public static mp ( int millimeters ) : int
millimeters int
return int

mt() public static method

public static mt ( int millimeters ) : int
millimeters int
return int

pt() public static method

public static pt ( int pixels ) : int
pixels int
return int

removeLastColon() public static method

public static removeLastColon ( String list ) : String
list String
return String

setEmailAddress() public static method

public static setEmailAddress ( String rhs ) : void
rhs String
return void

setEmailErrDescrip() public static method

public static setEmailErrDescrip ( String rhs ) : void
rhs String
return void

setEmailPort() public static method

public static setEmailPort ( int rhs ) : void
rhs int
return void

setEmailPwd() public static method

public static setEmailPwd ( String rhs ) : void
rhs String
return void

setEmailServer() public static method

public static setEmailServer ( String rhs ) : void
rhs String
return void

setEmailUser() public static method

public static setEmailUser ( String rhs ) : void
rhs String
return void

setErrorDB() public static method

public static setErrorDB ( String rhs ) : void
rhs String
return void

setFocusControl() public static method

public static setFocusControl ( Control ctl ) : void
ctl System.Windows.Forms.Control
return void

setInfoString() public static method

public static setInfoString ( String source, String key, String value ) : String
source String
key String
value String
return String

setSepDecimal() public static method

public static setSepDecimal ( ) : void
return void

subString() public static method

public static subString ( string text, int start, int length ) : string
text string
start int
length int
return string

tp() public static method

public static tp ( int twips ) : int
twips int
return int

val() public static method

public static val ( object value ) : double
value object
return double

valAsInt() public static method

public static valAsInt ( object value ) : int
value object
return int