|
IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
Control for editing input parameter values. More...
Inheritance diagram for IG.Forms.InputParametersControl:
Collaboration diagram for IG.Forms.InputParametersControl:Public Member Functions | |
| InputParametersControl () | |
| DataGridView | GetGridControl () |
| Returns the DataGridView control that is used for setting values of the input parameters. More... | |
| void | CopyDataToGrid () |
| Initializes contents of the DataGridView. More... | |
| void | ClearCells () |
| Clears contents of all DataGridView cells. More... | |
| void | ClearDataGrid () |
| Removes all the data from the DataGridView. More... | |
| void | ResetToDefault () |
| void | ResetToCenter () |
| void | SetValues (IVector values) |
| Sets the values of input parameters on the DataViewGrid to the elements of the specified vector. More... | |
| void | ShowContextMenuControl (object sender, MouseEventArgs e) |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
| Clean up any resources being used. More... | |
Protected Attributes | |
| int | _colNumValue = 2 |
| Vector | _values |
Properties | |
| InputOutputDataDefiniton | DataDefinition [get, set] |
| Data about input and output quantities of the manipulated functions or response. More... | |
| int | ColNumValue [get] |
| Number of DataGrid Column that contains the value. More... | |
| int | NumValues [get] |
| Current number of values, otained form the DataGridView. More... | |
| IVector | Values [get, protected set] |
| Vector of current values of input parameters as defined by the DadaGridView. More... | |
Private Member Functions | |
| void | InputParametersControl_MouseClick (object sender, MouseEventArgs e) |
| void | dGridInputParam_MouseClick (object sender, MouseEventArgs e) |
| void | btnResetDefault_Click (object sender, EventArgs e) |
| void | btnResetCenter_Click (object sender, EventArgs e) |
| void | resetToDefaultToolStripMenuItem_Click (object sender, EventArgs e) |
| void | resetToCenterToolStripMenuItem_Click (object sender, EventArgs e) |
| void | dGridInputParam_CellValueChanged (object sender, DataGridViewCellEventArgs e) |
| void | InitializeComponent () |
| Required method for Designer support - do not modify the contents of this method with the code editor. More... | |
Private Attributes | |
| InputOutputDataDefiniton | _dataDefinition |
| System.ComponentModel.IContainer | components = null |
| Required designer variable. More... | |
| System.Windows.Forms.GroupBox | groupBox1 |
| System.Windows.Forms.DataGridView | dGridInputParam |
| System.Windows.Forms.Button | btnResetDefault |
| System.Windows.Forms.Button | btnResetCenter |
| System.Windows.Forms.ContextMenuStrip | contextMenuControl |
| System.Windows.Forms.ToolStripMenuItem | resetToDefaultToolStripMenuItem |
| System.Windows.Forms.ToolStripMenuItem | resetToCenterToolStripMenuItem |
| System.Windows.Forms.DataGridViewTextBoxColumn | columnId |
| System.Windows.Forms.DataGridViewTextBoxColumn | columnTitle |
| System.Windows.Forms.DataGridViewTextBoxColumn | columnValue |
Control for editing input parameter values.
$A Igor Apr13 Mar16;
|
inline |
|
inline |
Returns the DataGridView control that is used for setting values of the input parameters.
|
inline |
Initializes contents of the DataGridView.
References IG.Num.InputOutputElementDefinition.BoundsDefined, IG.Num.InputElementDefinition.DefaultValue, IG.Num.InputElementDefinition.DefaultValueDefined, IG.Num.InputOutputElementDefinition.ElementIndex, IG.Num.InputOutputElementDefinition.MaximalValue, IG.Num.InputOutputElementDefinition.MinimalValue, and IG.Num.InputOutputElementDefinition.Title.
|
inline |
Clears contents of all DataGridView cells.
|
inline |
Removes all the data from the DataGridView.
|
inline |
|
inline |
|
inline |
Sets the values of input parameters on the DataViewGrid to the elements of the specified vector.
| values | Vectors defining the values to be set. |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References IG.Lib.Util.SleepSeconds().
|
inlineprotected |
Clean up any resources being used.
| disposing | true if managed resources should be disposed; otherwise, false. |
|
inlineprivate |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
private |
|
protected |
|
protected |
|
private |
Required designer variable.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
getset |
Data about input and output quantities of the manipulated functions or response.
|
get |
Number of DataGrid Column that contains the value.
|
get |
Current number of values, otained form the DataGridView.
|
getprotected set |
Vector of current values of input parameters as defined by the DadaGridView.