C# Class PFunction2D.EditPFunction2DForm

Inheritance: EditFunctionsForm
Mostra file Open project: fairmat/ModelingTools

Public Methods

Method Description
Bind ( IEditable obj ) : void

Handles the objects which will be displayed through this form for editing and previewing.

Protected Methods

Method Description
OnShown ( EventArgs e ) : void

Does additional operations on the OnShown event.

This is needed because the AutoResizeRowHeaderWidth method cannot be called when filling the table, else it won't be effective.

PlotFunction ( ) : void

Handles the graphical plotting of the 2D function.

SaveDataChanges ( ) : void

Saves the changes applied to the data.

Private Methods

Method Description
DataGridToPointFunctionData ( PFunction2D.PFunction2D destination ) : bool

Gets the data from the Data Grid and puts it back in the function.

PointFunctionDataToDataGrid ( ) : void

Loads the data from the function on the grid so it's possible to view and edit it.

buttonImport_Click ( object sender, EventArgs e ) : void

Handles the import from the clipboard (tab character for separating the row elements).

Method Details

Bind() public method

Handles the objects which will be displayed through this form for editing and previewing.
public Bind ( IEditable obj ) : void
obj IEditable The object to edit with this form, must be a PFunction2D.
return void

OnShown() protected method

Does additional operations on the OnShown event.
This is needed because the AutoResizeRowHeaderWidth method cannot be called when filling the table, else it won't be effective.
protected OnShown ( EventArgs e ) : void
e System.EventArgs The parameter is not used but passed to the base class.
return void

PlotFunction() protected method

Handles the graphical plotting of the 2D function.
protected PlotFunction ( ) : void
return void

SaveDataChanges() protected method

Saves the changes applied to the data.
protected SaveDataChanges ( ) : void
return void