Property | Type | Description | |
---|---|---|---|
X_LABEL_SIZE | int | ||
m_nButtonHeight | int | ||
m_zPanel | |||
m_zTabControl |
Method | Description | |
---|---|---|
AddButton ( string sLabel, int nDesiredWidth, EventHandler eHandler, object zQueryKey ) : |
Adds a button
|
|
AddCheckBox ( string sLabel, bool bCheckDefault, object zQueryKey ) : |
Adds a check box with an associated label.
|
|
AddComboBox ( string sLabel, string arrayEntries, int nDefaultIndex, object zQueryKey ) : |
Adds a ComboBox
|
|
AddDateTimePicker ( string sLabel, DateTimePickerFormat eFormat, System.DateTime dtValue, object zQueryKey ) : |
Adds a DateTime picker field
|
|
AddEnableControl ( object zQueryKey, object zQueryKeyEnable ) : bool |
Adds the specified control to be enabled when the given control is enabled.
|
|
AddEnableControls ( object zQueryKey, object arrayQueryKeyEnable ) : bool |
Adds the specified controls to be enabled when the given control is enabled.
|
|
AddFileBrowseBox ( string sLabel, string sDefault, string sFilter, object zQueryKey ) : |
Adds a file browser component.
|
|
AddFolderBrowseBox ( string sLabel, string sDefault, object zQueryKey ) : |
Adds a folder browser component
|
|
AddLabel ( string sLabel, int nHeight ) : |
Adds a label
|
|
AddListBox ( string sLabel, string arrayEntries, int arraySelected, bool bMultiSelect, int nHeight, object zQueryKey ) : |
Adds a ListBox with the specified items and selected items
|
|
AddMultiLineTextBox ( string sLabel, string sDefaultValue, int nHeight, object zQueryKey ) : |
Adds a multiline TextBox
|
|
AddNumericBox ( string sLabel, decimal dDefault, decimal dMin, decimal dMax, decimal dIncrement, int nDecimalPlaces, object zQueryKey ) : |
Adds a NumericUpDown
|
|
AddNumericBox ( string sLabel, decimal dDefault, decimal dMin, decimal dMax, object zQueryKey ) : |
Adds a NumericUpDown
|
|
AddNumericBoxSlider ( string sLabel, bool bFloat, decimal dDefault, decimal dMin, decimal dMax, object zQueryKey ) : |
Adds a NumericUpDown with associated slider
|
|
AddPullDownBox ( string sLabel, string arrayEntries, int nDefaultIndex, object zQueryKey ) : |
Adds a ComboBox with the pulldownlist style.
|
|
AddTab ( string sTabName ) : |
Creates a Tab
|
|
AddTextBox ( string sLabel, string sDefaultValue, bool bPassword, object zQueryKey ) : |
Adds a TextBox
|
|
AddVerticalSpace ( int nHeight ) : void |
Adds vertical spacing
|
|
ChangeToTab ( string sTabName ) : void |
Changes to the tab specified and creates it if necessary
|
|
GetBool ( object zQueryKey ) : bool |
Gets the state of the specified check box
|
|
GetControl ( object zQueryKey ) : |
Gets the control associated with the query key
|
|
GetDateTime ( object zQueryKey ) : System.DateTime |
Returns the DateTime of the specified control.
|
|
GetDecimal ( object zQueryKey ) : decimal |
|
|
GetIndex ( object zQueryKey ) : int |
Gets the index of the specified combo box
|
|
GetIndices ( object zQueryKey ) : int[] |
Gets the selected indices of the given control
|
|
GetString ( object zQueryKey ) : string |
Gets the string value of the specified control
|
|
GetStrings ( object zQueryKey ) : string[] |
Gets the selected strings of the control
|
|
QueryPanel ( |
|
|
QueryPanel ( |
|
|
SetupScrollState ( |
||
UpdateEnableStates ( ) : void |
Method | Description | |
---|---|---|
GetYPosition ( ) : int |
Gets the current y position (based on the current layout control)
|
|
numeric_ValueChanged ( object sender, |
Handles generic numeric change
|
Method | Description | |
---|---|---|
AddBrowseBox ( string sLabel, string sDefault, string sFilter, object zQueryKey ) : |
Adds a browse component (button/textbox/label)
|
|
AddComboBox ( string sLabel, string arrayEntries, int nDefaultIndex, bool bPulldown, object zQueryKey ) : |
Adds a combo box with the items specified (based on the type specified)
|
|
AddTextBox ( string sLabel, string sDefaultValue, bool bMultiLine, bool bPassword, int nHeight, object zQueryKey ) : |
Adds a TextBox
|
|
AddToYPosition ( int nYAmount ) : void |
Sets the Y position for the current layout control (panel, tab etc.)
|
|
CreateLabel ( string sLabel ) : |
Created a label based on the current y position
|
|
GetLabelWidth ( |
This gets the width of the label + the control buffer (or 0 if the label is empty)
|
|
GetQueryItem ( object zQueryKey ) : QueryItem |
|
|
InitPanel ( |
|
|
SetupControl ( |
Support method to setup the control location/size. This method also adds the control to the form.
|
|
ThrowBadQueryException ( ) : void |
Used to throw a general exception when the query key specified is wrong
|
|
ThrowWrongTypeException ( ) : void |
Used to throw a general exception when the wrong type is queried
|
|
numericSlider_ValueChanged ( object sender, |
Handles generic numeric slider change
|
|
zButton_Click ( object sender, |
Generic button press (used for the browse file/folder box)
|
public AddButton ( string sLabel, int nDesiredWidth, EventHandler eHandler, object zQueryKey ) : |
||
sLabel | string | Text label of the button |
nDesiredWidth | int | The desired width of the button |
eHandler | EventHandler | The event handler to associated with the button |
zQueryKey | object | The query key for requesting the value |
return |
public AddCheckBox ( string sLabel, bool bCheckDefault, object zQueryKey ) : |
||
sLabel | string | Label seting |
bCheckDefault | bool | Default check box state |
zQueryKey | object | The query key for requesting the value |
return |
public AddComboBox ( string sLabel, string arrayEntries, int nDefaultIndex, object zQueryKey ) : |
||
sLabel | string | Label string |
arrayEntries | string | Array of strings to be used in the combo box |
nDefaultIndex | int | Default index of the combo box |
zQueryKey | object | The query key for requesting the value |
return |
public AddDateTimePicker ( string sLabel, DateTimePickerFormat eFormat, System.DateTime dtValue, object zQueryKey ) : |
||
sLabel | string | Label string |
eFormat | DateTimePickerFormat | DateTimePickerFormat to control the visual component |
dtValue | System.DateTime | The default date time value |
zQueryKey | object | The query key for requesting the value |
return |
public AddEnableControl ( object zQueryKey, object zQueryKeyEnable ) : bool | ||
zQueryKey | object | The parent control to base the enable state on |
zQueryKeyEnable | object | The control to enable/disable based on the parent control state |
return | bool |
public AddEnableControls ( object zQueryKey, object arrayQueryKeyEnable ) : bool | ||
zQueryKey | object | The parent control to base the enable state on |
arrayQueryKeyEnable | object | string[] of controls to enable/disable based on the parent control state |
return | bool |
public AddFileBrowseBox ( string sLabel, string sDefault, string sFilter, object zQueryKey ) : |
||
sLabel | string | Label string |
sDefault | string | Default string |
sFilter | string | File filter (standard format for OpenFileDialog), string.empty for default *.* |
zQueryKey | object | The query key for requesting the value |
return |
public AddFolderBrowseBox ( string sLabel, string sDefault, object zQueryKey ) : |
||
sLabel | string | Label string |
sDefault | string | Default string |
zQueryKey | object | The query key for requesting the value |
return |
public AddLabel ( string sLabel, int nHeight ) : |
||
sLabel | string | Label string |
nHeight | int | Label height |
return |
public AddListBox ( string sLabel, string arrayEntries, int arraySelected, bool bMultiSelect, int nHeight, object zQueryKey ) : |
||
sLabel | string | Label string |
arrayEntries | string | Array of strings as entries |
arraySelected | int | Array of indicies to select |
bMultiSelect | bool | Flag indicating whether multiple items can be selected |
nHeight | int | The desired height of the ListBox |
zQueryKey | object | The query key for requesting the value |
return |
public AddMultiLineTextBox ( string sLabel, string sDefaultValue, int nHeight, object zQueryKey ) : |
||
sLabel | string | Label string |
sDefaultValue | string | Default text |
nHeight | int | Height of the TextBox |
zQueryKey | object | The query key for requesting the value |
return |
public AddNumericBox ( string sLabel, decimal dDefault, decimal dMin, decimal dMax, decimal dIncrement, int nDecimalPlaces, object zQueryKey ) : |
||
sLabel | string | Label string |
dDefault | decimal | Default value |
dMin | decimal | Minimum value |
dMax | decimal | Maximum value |
dIncrement | decimal | Increment amout |
nDecimalPlaces | int | decimal places |
zQueryKey | object | The query key for requesting the value |
return |
public AddNumericBox ( string sLabel, decimal dDefault, decimal dMin, decimal dMax, object zQueryKey ) : |
||
sLabel | string | Label string |
dDefault | decimal | Default value |
dMin | decimal | Minimum value |
dMax | decimal | Maximum value |
zQueryKey | object | The query key for requesting the value |
return |
public AddNumericBoxSlider ( string sLabel, bool bFloat, decimal dDefault, decimal dMin, decimal dMax, object zQueryKey ) : |
||
sLabel | string | Label string |
bFloat | bool | Flag indicating whether the values associated are floating point |
dDefault | decimal | Default value |
dMin | decimal | Minimum value |
dMax | decimal | Maximum value |
zQueryKey | object | The query key for requesting the value |
return |
public AddPullDownBox ( string sLabel, string arrayEntries, int nDefaultIndex, object zQueryKey ) : |
||
sLabel | string | Label string |
arrayEntries | string | Array of strings to be used in the combo box |
nDefaultIndex | int | Default index of the combo box |
zQueryKey | object | The query key for requesting the value |
return |
public AddTab ( string sTabName ) : |
||
sTabName | string | Name of the tab to create |
return |
public AddTextBox ( string sLabel, string sDefaultValue, bool bPassword, object zQueryKey ) : |
||
sLabel | string | Label string |
sDefaultValue | string | Default text |
bPassword | bool | Flag indicating that this is a password textbox |
zQueryKey | object | The query key for requesting the value |
return |
public AddVerticalSpace ( int nHeight ) : void | ||
nHeight | int | The amount of space to add. |
return | void |
public ChangeToTab ( string sTabName ) : void | ||
sTabName | string | Name of the tab to change to |
return | void |
public GetBool ( object zQueryKey ) : bool | ||
zQueryKey | object | The query key for requesting the value |
return | bool |
public GetControl ( object zQueryKey ) : |
||
zQueryKey | object | The query key for requesting the value |
return |
public GetDateTime ( object zQueryKey ) : System.DateTime | ||
zQueryKey | object | The query key for requesting the value |
return | System.DateTime |
public GetDecimal ( object zQueryKey ) : decimal | ||
zQueryKey | object | The query key for requesting the value |
return | decimal |
public GetIndex ( object zQueryKey ) : int | ||
zQueryKey | object | The query key for requesting the value |
return | int |
public GetIndices ( object zQueryKey ) : int[] | ||
zQueryKey | object | The query key for requesting the value |
return | int[] |
public GetString ( object zQueryKey ) : string | ||
zQueryKey | object | The query key for requesting the value |
return | string |
public GetStrings ( object zQueryKey ) : string[] | ||
zQueryKey | object | The query key for requesting the value |
return | string[] |
public QueryPanel ( |
||
zPanel | Empty Panel to add controls to | |
bTabbed | bool | Flag indicating whether to use a tab control |
return | System |
public QueryPanel ( |
||
zPanel | Empty Panel to add controls to | |
nLabelWidth | int | Desired with of labels |
bTabbed | bool | Flag indicating whether to use a tab control |
return | System |
public static SetupScrollState ( |
||
scrollableControl | ||
return | void |
protected numeric_ValueChanged ( object sender, |
||
sender | object | |
e | ||
return | void |
protected Panel,System.Windows.Forms m_zPanel | ||
return |