C# Class PFunction2D.EditPFunction2DForm

Inheritance: EditFunctionsForm
Afficher le fichier Open project: fairmat/ModelingTools

Méthodes publiques

Méthode Description
Bind ( IEditable obj ) : void

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

Méthodes protégées

Méthode 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

Méthode 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 méthode

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.
Résultat void

OnShown() protected méthode

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.
Résultat void

PlotFunction() protected méthode

Handles the graphical plotting of the 2D function.
protected PlotFunction ( ) : void
Résultat void

SaveDataChanges() protected méthode

Saves the changes applied to the data.
protected SaveDataChanges ( ) : void
Résultat void