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.InputDataDefinitionControl Class Reference

Control for editing input or output data definitions (only one of these two at a time). More...

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

Public Member Functions

 InputDataDefinitionControl ()
 
void UpdateInputOrOutput (bool isInput)
 Prepares control for processing either input or output data. More...
 
DataGridView GetGridControl ()
 Returns the DataGridView control that is used for setting values of the input parameters. More...
 
string CreateInputElementName (int elementIndex)
 Returns a suitable name for input data element with the specified index. More...
 
string CreateOutputElementName (int elementIndex)
 Returns a suitable name for output data element with the specified index. More...
 
InputElementDefinition CreateInputElement (int elementIndex)
 Creates and returns a new input data element definition. More...
 
OutputElementDefinition CreateOutputElement (int elementIndex)
 Creates and returns a new output data element definition. More...
 
void CopyGridRowToData (int whichRow)
 Copies data from the specified row of the data grid view to data definition object. More...
 
void CopyDataToGridRow (int whichRow)
 Copies data to the specified row of the data grid view from data definition object DataDefinition. More...
 
void CopyDataToGrid ()
 Copies data from the DataDefinition object to the internal data grid view control. More...
 
void ClearCells ()
 Clears contents of all DataGridView cells. More...
 
void ClearDataGrid ()
 Removes all the data from the DataGridView. More...
 
virtual string CreateSummary ()
 
void ShowContextMenuControl (object sender, MouseEventArgs e)
 
 InputDataDefinitionControl ()
 
void UpdateInputOrOutput (bool isInput)
 Prepares control for processing either input or output data. More...
 
DataGridView GetGridControl ()
 Returns the DataGridView control that is used for setting values of the input parameters. More...
 
string CreateInputElementName (int elementIndex)
 Returns a suitable name for input data element with the specified index. More...
 
string CreateOutputElementName (int elementIndex)
 Returns a suitable name for output data element with the specified index. More...
 
InputElementDefinition CreateInputElement (int elementIndex)
 Creates and returns a new input data element definition. More...
 
OutputElementDefinition CreateOutputElement (int elementIndex)
 Creates and returns a new output data element definition. More...
 
void CopyGridRowToData (int whichRow)
 Copies data from the specified row of the data grid view to data definition object. More...
 
void CopyDataToGridRow (int whichRow)
 Copies data to the specified row of the data grid view from data definition object DataDefinition. More...
 
void CopyDataToGrid ()
 Copies data from the DataDefinition object to the internal data grid view control. More...
 
void ClearCells ()
 Clears contents of all DataGridView cells. More...
 
void ClearDataGrid ()
 Removes all the data from the DataGridView. More...
 
virtual string CreateSummary ()
 
void ShowContextMenuControl (object sender, MouseEventArgs e)
 

Protected Member Functions

virtual void InitDataGridProperties ()
 Initializes additional properties of the data grid view that were not set in designer. More...
 
void OnDefinitionObjectChanged (InputOutputDataDefiniton oldDataDefinition, InputOutputDataDefiniton newDataDefinition)
 Raises the DefinitionObjectChanged event. This method should be called preferrably, rather than the event itself. More...
 
void OnNumElementsChanged (int oldLength, int newLength)
 Raises the NumElementsChanged event. This method should be called preferrably, rather than the event itself. More...
 
override void Dispose (bool disposing)
 Clean up any resources being used. More...
 
virtual void InitDataGridProperties ()
 Initializes additional properties of the data grid view that were not set in designer. More...
 
void OnDefinitionObjectChanged (InputOutputDataDefiniton oldDataDefinition, InputOutputDataDefiniton newDataDefinition)
 Raises the DefinitionObjectChanged event. This method should be called preferrably, rather than the event itself. More...
 
void OnNumElementsChanged (int oldLength, int newLength)
 Raises the NumElementsChanged event. This method should be called preferrably, rather than the event itself. More...
 
void OnDataChanged ()
 Raises the ElementDataChanged event. This method should be called preferrably, rather than the event itself. More...
 
override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Protected Attributes

int _inputLength
 
int _outputLength
 
bool _isInputData = true
 
Vector _values
 

Properties

InputOutputDataDefiniton DataDefinition [get, set]
 Data about input and output quantities of the manipulated functions or response. More...
 
int NumElements [get, protected set]
 Number of the corresponding elements in the data definition. More...
 
virtual int InputLength [get, set]
 Number of input parameters or data elements. More...
 
virtual int OutputLength [get, set]
 Number of output parameters or data elements. More...
 
virtual string Title [get, set]
 Text of the title label shown on top left of the form. More...
 
virtual bool IsInputData [get, set]
 Indicates whether this form is used to edit input (when true) or output (when false) data elements. More...
 
bool IsOutputData [get, set]
 Indicates whether this form is used to edit input (when false) or output (when true) data elements. More...
 
bool IsDimentionChangeAllowed [get, set]
 Indicates whetherr user can change dimensions (number of input/output data elements). More...
 
bool GridChangeEventsDisabled [get, set]
 Flag for disabling events raised when grid data is changed. Default is false. More...
 
int ColumnIndexId [get]
 Returns column index of the ID field. More...
 
int ColumnIndexName [get]
 Returns column index of the Name field. More...
 
int ColumnIndexMin [get]
 Returns column index of the Min field. More...
 
int ColumnIndexMax [get]
 Returns column index of the Max field. More...
 
int ColumnIndexDefault [get]
 Returns column index of the Default field. More...
 
int ColumnIndexNumPoints [get]
 Returns column index of the Num field. More...
 
int ColumnIndexTitle [get]
 Returns column index of the Title field. More...
 
int ColumnIndexDescription [get]
 Returns column index of the Description field. More...
 
bool UseLegalVariableNames [get, set]
 Specifies whether legal variable names (according to rules in programming languages such as C++, C# or Java) should be enforced for naming input and utput elements. More...
 
int NumValues [get]
 Current number of values, otained form the DataGridView. More...
 
string TitleInputData [get, set]
 Control's title (displayed as group box text) in case of input data editing. More...
 
string TitleOutputData [get, set]
 Control's title (displayed as group box text) in case of output data editing. More...
 
string TitleWithChangedSign [get]
 Actual title that is shown on the top of control, in the lblMainTitle label, includes eventual marks for unsaved changes. More...
 
bool HasUnsavedChanges [get, set]
 Whether the current function definition has unsaved changes. More...
 

Events

EventHandler
< ValueChangeEventArgs
< InputOutputDataDefiniton > > 
DefinitionObjectChanged
 Occurs when data definition object is changed (i.e., when object reference changes), meaning that whole data definition object is replaced. More...
 
EventHandler
< IndexChangeEventArgs
NumElementsChanged
 Occurs when number of data elements (InputLength or OutputLength, dependent on IsInputData property) is changed. More...
 
EventHandler DataChanged
 Occurs when some element property is changed. More...
 

Private Member Functions

void InputDataDefinitionControl_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...
 
void InputDataDefinitionControl_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
 
string _title = "Input Data"
 
bool _isDimentionChangeAllowed = true
 
bool _gridChangeEventsDdisabled = false
 
int _columnIndexId = -1
 
int _columnIndexName = -1
 
int _columnIndexMin = -1
 
int _columnIndexMax = -1
 
int _columnIndexDefault = -1
 
int _columnIndexNumPoints = -1
 
int _columnIndexTitle = -1
 
int _columnIndexDescription = -1
 
bool _useLegalVariableNames = true
 
System.ComponentModel.IContainer components = null
 Required designer variable. More...
 
System.Windows.Forms.GroupBox grpOuter
 
System.Windows.Forms.DataGridView dataGridView1
 
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 columnMin
 
System.Windows.Forms.DataGridViewTextBoxColumn columnMax
 
System.Windows.Forms.DataGridViewTextBoxColumn columnDefault
 
System.Windows.Forms.DataGridViewTextBoxColumn columnNumPoints
 
System.Windows.Forms.DataGridViewTextBoxColumn columnTitle
 
System.Windows.Forms.DataGridViewTextBoxColumn columnDescription
 
string _titleInputData = "Input Data"
 
string _titleOutputData = "Output Data"
 
bool _hasUnsavedChanges = false
 

Detailed Description

Control for editing input or output data definitions (only one of these two at a time).

$A Igor Apr13 Mar16;

Constructor & Destructor Documentation

IG.Forms.InputDataDefinitionControl.InputDataDefinitionControl ( )
inline
IG.Forms.InputDataDefinitionControl.InputDataDefinitionControl ( )
inline

Member Function Documentation

void IG.Forms.InputDataDefinitionControl.UpdateInputOrOutput ( bool  isInput)
inline

Prepares control for processing either input or output data.

When calling this method, its body is executed regardles of whether it has been called with the same parameters before. This is different from IsInputData setter which has effect only when value is actually changed.

Parameters
isInput
virtual void IG.Forms.InputDataDefinitionControl.InitDataGridProperties ( )
inlineprotectedvirtual

Initializes additional properties of the data grid view that were not set in designer.

This is currently not used because the relevant proprties are set in the designer's code.

We will keep the method for the case it becomes useful (e.g. if EinForms GUI designer would tend to override property values when changing the form in the designer).

DataGridView IG.Forms.InputDataDefinitionControl.GetGridControl ( )
inline

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

Returns
string IG.Forms.InputDataDefinitionControl.CreateInputElementName ( int  elementIndex)
inline

Returns a suitable name for input data element with the specified index.

Parameters
elementIndexIndex of the input data element whose name is generated.

References IG.Num.InputOutputDataDefiniton.CreateInputElementName().

string IG.Forms.InputDataDefinitionControl.CreateOutputElementName ( int  elementIndex)
inline

Returns a suitable name for output data element with the specified index.

Parameters
elementIndexIndex of the output data element whose name is generated.

References IG.Num.InputOutputDataDefiniton.CreateOutputElementName().

InputElementDefinition IG.Forms.InputDataDefinitionControl.CreateInputElement ( int  elementIndex)
inline

Creates and returns a new input data element definition.

Parameters
elementIndexIndex of data elment.

References IG.Num.InputOutputElementDefinition.Description, and IG.Num.InputOutputElementDefinition.Title.

OutputElementDefinition IG.Forms.InputDataDefinitionControl.CreateOutputElement ( int  elementIndex)
inline

Creates and returns a new output data element definition.

Parameters
elementIndexIndex of data elment.

References IG.Num.InputOutputElementDefinition.Description, and IG.Num.InputOutputElementDefinition.Title.

void IG.Forms.InputDataDefinitionControl.CopyDataToGrid ( )
inline

Copies data from the DataDefinition object to the internal data grid view control.

void IG.Forms.InputDataDefinitionControl.ClearCells ( )
inline

Clears contents of all DataGridView cells.

void IG.Forms.InputDataDefinitionControl.ClearDataGrid ( )
inline

Removes all the data from the DataGridView.

void IG.Forms.InputDataDefinitionControl.OnDefinitionObjectChanged ( InputOutputDataDefiniton  oldDataDefinition,
InputOutputDataDefiniton  newDataDefinition 
)
inlineprotected

Raises the DefinitionObjectChanged event. This method should be called preferrably, rather than the event itself.

Parameters
oldDataDefinitionOld data definition object.
newDataDefinitionNew data definition object.
void IG.Forms.InputDataDefinitionControl.OnNumElementsChanged ( int  oldLength,
int  newLength 
)
inlineprotected

Raises the NumElementsChanged event. This method should be called preferrably, rather than the event itself.

Parameters
oldLengthOld length.
newLengthNew length.
virtual string IG.Forms.InputDataDefinitionControl.CreateSummary ( )
inlinevirtual
void IG.Forms.InputDataDefinitionControl.ShowContextMenuControl ( object  sender,
MouseEventArgs  e 
)
inline
void IG.Forms.InputDataDefinitionControl.InputDataDefinitionControl_MouseClick ( object  sender,
MouseEventArgs  e 
)
inlineprivate
void IG.Forms.InputDataDefinitionControl.dGridInputParam_MouseClick ( object  sender,
MouseEventArgs  e 
)
inlineprivate
void IG.Forms.InputDataDefinitionControl.btnResetDefault_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Forms.InputDataDefinitionControl.btnResetCenter_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Forms.InputDataDefinitionControl.resetToDefaultToolStripMenuItem_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Forms.InputDataDefinitionControl.resetToCenterToolStripMenuItem_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Forms.InputDataDefinitionControl.dGridInputParam_CellValueChanged ( object  sender,
DataGridViewCellEventArgs  e 
)
inlineprivate
override void IG.Forms.InputDataDefinitionControl.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

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

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

void IG.Forms.InputDataDefinitionControl.UpdateInputOrOutput ( bool  isInput)
inline

Prepares control for processing either input or output data.

When calling this method, its body is executed regardles of whether it has been called with the same parameters before. This is different from IsInputData setter which has effect only when value is actually changed.

Parameters
isInput
virtual void IG.Forms.InputDataDefinitionControl.InitDataGridProperties ( )
inlineprotectedvirtual

Initializes additional properties of the data grid view that were not set in designer.

This is currently not used because the relevant proprties are set in the designer's code.

We will keep the method for the case it becomes useful (e.g. if EinForms GUI designer would tend to override property values when changing the form in the designer).

DataGridView IG.Forms.InputDataDefinitionControl.GetGridControl ( )
inline

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

Returns
string IG.Forms.InputDataDefinitionControl.CreateInputElementName ( int  elementIndex)
inline

Returns a suitable name for input data element with the specified index.

Parameters
elementIndexIndex of the input data element whose name is generated.

References IG.Num.InputOutputDataDefiniton.CreateInputElementName().

string IG.Forms.InputDataDefinitionControl.CreateOutputElementName ( int  elementIndex)
inline

Returns a suitable name for output data element with the specified index.

Parameters
elementIndexIndex of the output data element whose name is generated.

References IG.Num.InputOutputDataDefiniton.CreateOutputElementName().

InputElementDefinition IG.Forms.InputDataDefinitionControl.CreateInputElement ( int  elementIndex)
inline

Creates and returns a new input data element definition.

Parameters
elementIndexIndex of data elment.

References IG.Num.InputOutputElementDefinition.Description, and IG.Num.InputOutputElementDefinition.Title.

OutputElementDefinition IG.Forms.InputDataDefinitionControl.CreateOutputElement ( int  elementIndex)
inline

Creates and returns a new output data element definition.

Parameters
elementIndexIndex of data elment.

References IG.Num.InputOutputElementDefinition.Description, and IG.Num.InputOutputElementDefinition.Title.

void IG.Forms.InputDataDefinitionControl.CopyDataToGrid ( )
inline

Copies data from the DataDefinition object to the internal data grid view control.

void IG.Forms.InputDataDefinitionControl.ClearCells ( )
inline

Clears contents of all DataGridView cells.

void IG.Forms.InputDataDefinitionControl.ClearDataGrid ( )
inline

Removes all the data from the DataGridView.

void IG.Forms.InputDataDefinitionControl.OnDefinitionObjectChanged ( InputOutputDataDefiniton  oldDataDefinition,
InputOutputDataDefiniton  newDataDefinition 
)
inlineprotected

Raises the DefinitionObjectChanged event. This method should be called preferrably, rather than the event itself.

Parameters
oldDataDefinitionOld data definition object.
newDataDefinitionNew data definition object.
void IG.Forms.InputDataDefinitionControl.OnNumElementsChanged ( int  oldLength,
int  newLength 
)
inlineprotected

Raises the NumElementsChanged event. This method should be called preferrably, rather than the event itself.

Parameters
oldLengthOld length.
newLengthNew length.
void IG.Forms.InputDataDefinitionControl.OnDataChanged ( )
inlineprotected

Raises the ElementDataChanged event. This method should be called preferrably, rather than the event itself.

virtual string IG.Forms.InputDataDefinitionControl.CreateSummary ( )
inlinevirtual
void IG.Forms.InputDataDefinitionControl.ShowContextMenuControl ( object  sender,
MouseEventArgs  e 
)
inline
void IG.Forms.InputDataDefinitionControl.InputDataDefinitionControl_MouseClick ( object  sender,
MouseEventArgs  e 
)
inlineprivate
void IG.Forms.InputDataDefinitionControl.dGridInputParam_MouseClick ( object  sender,
MouseEventArgs  e 
)
inlineprivate
void IG.Forms.InputDataDefinitionControl.btnResetDefault_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Forms.InputDataDefinitionControl.btnResetCenter_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Forms.InputDataDefinitionControl.resetToDefaultToolStripMenuItem_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Forms.InputDataDefinitionControl.resetToCenterToolStripMenuItem_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Forms.InputDataDefinitionControl.dGridInputParam_CellValueChanged ( object  sender,
DataGridViewCellEventArgs  e 
)
inlineprivate
override void IG.Forms.InputDataDefinitionControl.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.
void IG.Forms.InputDataDefinitionControl.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.InputDataDefinitionControl._dataDefinition
private
int IG.Forms.InputDataDefinitionControl._inputLength
protected
int IG.Forms.InputDataDefinitionControl._outputLength
protected
string IG.Forms.InputDataDefinitionControl._title = "Input Data"
private
bool IG.Forms.InputDataDefinitionControl._isInputData = true
protected
bool IG.Forms.InputDataDefinitionControl._isDimentionChangeAllowed = true
private
bool IG.Forms.InputDataDefinitionControl._gridChangeEventsDdisabled = false
private
int IG.Forms.InputDataDefinitionControl._columnIndexId = -1
private
int IG.Forms.InputDataDefinitionControl._columnIndexName = -1
private
int IG.Forms.InputDataDefinitionControl._columnIndexMin = -1
private
int IG.Forms.InputDataDefinitionControl._columnIndexMax = -1
private
int IG.Forms.InputDataDefinitionControl._columnIndexDefault = -1
private
int IG.Forms.InputDataDefinitionControl._columnIndexNumPoints = -1
private
int IG.Forms.InputDataDefinitionControl._columnIndexTitle = -1
private
int IG.Forms.InputDataDefinitionControl._columnIndexDescription = -1
private
bool IG.Forms.InputDataDefinitionControl._useLegalVariableNames = true
private
Vector IG.Forms.InputDataDefinitionControl._values
protected
System ComponentModel IContainer IG.Forms.InputDataDefinitionControl.components = null
private

Required designer variable.

System Windows Forms GroupBox IG.Forms.InputDataDefinitionControl.grpOuter
private
System Windows Forms DataGridView IG.Forms.InputDataDefinitionControl.dataGridView1
private
System Windows Forms Button IG.Forms.InputDataDefinitionControl.btnResetDefault
private
System Windows Forms Button IG.Forms.InputDataDefinitionControl.btnResetCenter
private
System Windows Forms ContextMenuStrip IG.Forms.InputDataDefinitionControl.contextMenuControl
private
System Windows Forms ToolStripMenuItem IG.Forms.InputDataDefinitionControl.resetToDefaultToolStripMenuItem
private
System Windows Forms ToolStripMenuItem IG.Forms.InputDataDefinitionControl.resetToCenterToolStripMenuItem
private
System Windows Forms DataGridViewTextBoxColumn IG.Forms.InputDataDefinitionControl.columnId
private
System Windows Forms DataGridViewTextBoxColumn IG.Forms.InputDataDefinitionControl.columnName
private
System Windows Forms DataGridViewTextBoxColumn IG.Forms.InputDataDefinitionControl.columnMin
private
System Windows Forms DataGridViewTextBoxColumn IG.Forms.InputDataDefinitionControl.columnMax
private
System Windows Forms DataGridViewTextBoxColumn IG.Forms.InputDataDefinitionControl.columnDefault
private
System Windows Forms DataGridViewTextBoxColumn IG.Forms.InputDataDefinitionControl.columnNumPoints
private
System Windows Forms DataGridViewTextBoxColumn IG.Forms.InputDataDefinitionControl.columnTitle
private
System Windows Forms DataGridViewTextBoxColumn IG.Forms.InputDataDefinitionControl.columnDescription
private
string IG.Forms.InputDataDefinitionControl._titleInputData = "Input Data"
private
string IG.Forms.InputDataDefinitionControl._titleOutputData = "Output Data"
private
bool IG.Forms.InputDataDefinitionControl._hasUnsavedChanges = false
private

Property Documentation

InputOutputDataDefiniton IG.Forms.InputDataDefinitionControl.DataDefinition
getset

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

int IG.Forms.InputDataDefinitionControl.NumElements
getprotected set

Number of the corresponding elements in the data definition.

If IsInputData then this refers to the number of input elements, otherwise to the number o output elements.

int IG.Forms.InputDataDefinitionControl.InputLength
getset

Number of input parameters or data elements.

int IG.Forms.InputDataDefinitionControl.OutputLength
getset

Number of output parameters or data elements.

string IG.Forms.InputDataDefinitionControl.Title
getset

Text of the title label shown on top left of the form.

Gets text of the title label shown on top left of the form.

bool IG.Forms.InputDataDefinitionControl.IsInputData
getset

Indicates whether this form is used to edit input (when true) or output (when false) data elements.

Setting the property will change behavior.

bool IG.Forms.InputDataDefinitionControl.IsOutputData
getsetprotected

Indicates whether this form is used to edit input (when false) or output (when true) data elements.

This property depends on IsInputData property and is just its negation.

bool IG.Forms.InputDataDefinitionControl.IsDimentionChangeAllowed
getset

Indicates whetherr user can change dimensions (number of input/output data elements).

bool IG.Forms.InputDataDefinitionControl.GridChangeEventsDisabled
getsetprotected

Flag for disabling events raised when grid data is changed. Default is false.

This should be set to true in functions where grid data is changed programatically.

int IG.Forms.InputDataDefinitionControl.ColumnIndexId
get

Returns column index of the ID field.

int IG.Forms.InputDataDefinitionControl.ColumnIndexName
get

Returns column index of the Name field.

int IG.Forms.InputDataDefinitionControl.ColumnIndexMin
get

Returns column index of the Min field.

int IG.Forms.InputDataDefinitionControl.ColumnIndexMax
get

Returns column index of the Max field.

int IG.Forms.InputDataDefinitionControl.ColumnIndexDefault
get

Returns column index of the Default field.

int IG.Forms.InputDataDefinitionControl.ColumnIndexNumPoints
get

Returns column index of the Num field.

int IG.Forms.InputDataDefinitionControl.ColumnIndexTitle
get

Returns column index of the Title field.

int IG.Forms.InputDataDefinitionControl.ColumnIndexDescription
get

Returns column index of the Description field.

bool IG.Forms.InputDataDefinitionControl.UseLegalVariableNames
getset

Specifies whether legal variable names (according to rules in programming languages such as C++, C# or Java) should be enforced for naming input and utput elements.

int IG.Forms.InputDataDefinitionControl.NumValues
get

Current number of values, otained form the DataGridView.

string IG.Forms.InputDataDefinitionControl.TitleInputData
getset

Control's title (displayed as group box text) in case of input data editing.

string IG.Forms.InputDataDefinitionControl.TitleOutputData
getset

Control's title (displayed as group box text) in case of output data editing.

string IG.Forms.InputDataDefinitionControl.TitleWithChangedSign
get

Actual title that is shown on the top of control, in the lblMainTitle label, includes eventual marks for unsaved changes.

bool IG.Forms.InputDataDefinitionControl.HasUnsavedChanges
getset

Whether the current function definition has unsaved changes.

Event Documentation

EventHandler< ValueChangeEventArgs< InputOutputDataDefiniton > > IG.Forms.InputDataDefinitionControl.DefinitionObjectChanged

Occurs when data definition object is changed (i.e., when object reference changes), meaning that whole data definition object is replaced.

EventHandler< IndexChangeEventArgs > IG.Forms.InputDataDefinitionControl.NumElementsChanged

Occurs when number of data elements (InputLength or OutputLength, dependent on IsInputData property) is changed.

EventHandler IG.Forms.InputDataDefinitionControl.DataChanged

Occurs when some element property is changed.


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