C# Класс PFunction2D.EditPFunction2DForm

Наследование: EditFunctionsForm
Показать файл Открыть проект

Открытые методы

Метод Описание
Bind ( IEditable obj ) : void

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

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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).

Описание методов

Bind() публичный Метод

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.
Результат void

OnShown() защищенный Метод

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.
Результат void

PlotFunction() защищенный Метод

Handles the graphical plotting of the 2D function.
protected PlotFunction ( ) : void
Результат void

SaveDataChanges() защищенный Метод

Saves the changes applied to the data.
protected SaveDataChanges ( ) : void
Результат void