IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Forms.NeuralInputControl Class Reference

Control for editing input parameter values. More...

+ Inheritance diagram for IG.Forms.NeuralInputControl:
+ Collaboration diagram for IG.Forms.NeuralInputControl:

Public Member Functions

 NeuralInputControl ()
 
DataGridView GetGridControl ()
 Returns the DataGridView control that is used for setting values of the input parameters. More...
 
void InitializeCells ()
 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 NeuralDataDefinition [get, set]
 Data about input and output quantities of the manipulated functions or response. More...
 
int ColNumValue [get, protected set]
 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 NeuralInputControl_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 _neuralDataDefinition
 
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 columnName
 
System.Windows.Forms.DataGridViewTextBoxColumn columnValue
 

Detailed Description

Control for editing input parameter values.

$A Igor Apr13;

Constructor & Destructor Documentation

IG.Forms.NeuralInputControl.NeuralInputControl ( )
inline

Member Function Documentation

DataGridView IG.Forms.NeuralInputControl.GetGridControl ( )
inline

Returns the DataGridView control that is used for setting values of the input parameters.

Returns
void IG.Forms.NeuralInputControl.ClearCells ( )
inline

Clears contents of all DataGridView cells.

void IG.Forms.NeuralInputControl.ClearDataGrid ( )
inline

Removes all the data from the DataGridView.

void IG.Forms.NeuralInputControl.SetValues ( IVector  values)
inline

Sets the values of input parameters on the DataViewGrid to the elements of the specified vector.

Parameters
valuesVectors defining the values to be set.
void IG.Forms.NeuralInputControl.ShowContextMenuControl ( object  sender,
MouseEventArgs  e 
)
inline
void IG.Forms.NeuralInputControl.NeuralInputControl_MouseClick ( object  sender,
MouseEventArgs  e 
)
inlineprivate
void IG.Forms.NeuralInputControl.dGridInputParam_MouseClick ( object  sender,
MouseEventArgs  e 
)
inlineprivate
void IG.Forms.NeuralInputControl.btnResetDefault_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Forms.NeuralInputControl.btnResetCenter_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Forms.NeuralInputControl.resetToDefaultToolStripMenuItem_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Forms.NeuralInputControl.resetToCenterToolStripMenuItem_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Forms.NeuralInputControl.dGridInputParam_CellValueChanged ( object  sender,
DataGridViewCellEventArgs  e 
)
inlineprivate
override void IG.Forms.NeuralInputControl.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.
void IG.Forms.NeuralInputControl.InitializeComponent ( )
inlineprivate

Required method for Designer support - do not modify the contents of this method with the code editor.

Member Data Documentation

InputOutputDataDefiniton IG.Forms.NeuralInputControl._neuralDataDefinition
private
int IG.Forms.NeuralInputControl._colNumValue = 2
protected
Vector IG.Forms.NeuralInputControl._values
protected
System.ComponentModel.IContainer IG.Forms.NeuralInputControl.components = null
private

Required designer variable.

System.Windows.Forms.GroupBox IG.Forms.NeuralInputControl.groupBox1
private
System.Windows.Forms.DataGridView IG.Forms.NeuralInputControl.dGridInputParam
private
System.Windows.Forms.Button IG.Forms.NeuralInputControl.btnResetDefault
private
System.Windows.Forms.Button IG.Forms.NeuralInputControl.btnResetCenter
private
System.Windows.Forms.ContextMenuStrip IG.Forms.NeuralInputControl.contextMenuControl
private
System.Windows.Forms.ToolStripMenuItem IG.Forms.NeuralInputControl.resetToDefaultToolStripMenuItem
private
System.Windows.Forms.ToolStripMenuItem IG.Forms.NeuralInputControl.resetToCenterToolStripMenuItem
private
System.Windows.Forms.DataGridViewTextBoxColumn IG.Forms.NeuralInputControl.columnID
private
System.Windows.Forms.DataGridViewTextBoxColumn IG.Forms.NeuralInputControl.columnName
private
System.Windows.Forms.DataGridViewTextBoxColumn IG.Forms.NeuralInputControl.columnValue
private

Property Documentation

InputOutputDataDefiniton IG.Forms.NeuralInputControl.NeuralDataDefinition
getset

Data about input and output quantities of the manipulated functions or response.

int IG.Forms.NeuralInputControl.ColNumValue
getprotected set

Number of DataGrid Column that contains the value.

int IG.Forms.NeuralInputControl.NumValues
get

Current number of values, otained form the DataGridView.

IVector IG.Forms.NeuralInputControl.Values
getprotected set

Vector of current values of input parameters as defined by the DadaGridView.


The documentation for this class was generated from the following files: