C# Класс FdoToolbox.Base.Forms.ExpressionEditor

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
EditExpression ( FdoConnection conn, ClassDefinition classDef, ClassDefinition>.Dictionary aliasedClasses, string expr, ExpressionMode mode ) : string

Edits the expression.

NewExpression ( FdoConnection conn, ClassDefinition classDef, ClassDefinition>.Dictionary aliasedClasses, ExpressionMode mode ) : string

Creates a new expression.

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

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnLoad ( EventArgs e ) : void

Raises the E:System.Windows.Forms.Form.Load event.

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

Метод Описание
ApplyView ( ) : void
Complete ( string text ) : void
ExpressionEditor ( ) : System
ExpressionEditor ( FdoConnection conn, ClassDefinition classDef, ClassDefinition>.Dictionary aliasedClasses, ExpressionMode mode ) : System

Initializes a new instance of the ExpressionEditor class.

GetCaretPoint ( ) : Point
GetContextBuffer ( string &buffer ) : char?
GetItemsStartingWith ( string text ) : List
HandleKeyDown ( KeyEventArgs e ) : void
HandleKeyUp ( KeyEventArgs e ) : void
InitAutoComplete ( ) : void
InitializeComponent ( ) : void

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

InsertText ( string exprText ) : void

Inserts the given text at the text selection region or at the position of the caret (if there is no selection)

LoadConditionTypes ( ConditionType conditions ) : void
LoadDistanceOperations ( DistanceOperations distanceOps ) : void
LoadFunctionCategories ( Array categories ) : void
LoadFunctionDefinitions ( FunctionDefinitionCollection funcs ) : void
LoadProperties ( ) : void
LoadSpatialOperations ( SpatialOperations spatialOps ) : void
MoveAutoCompleteSelectionDown ( ) : void
MoveAutoCompleteSelectionUp ( ) : void
OnAutoCompleteDoubleClick ( object sender, EventArgs e ) : void
OnAutoCompleteKeyDown ( object sender, KeyEventArgs e ) : void
OnAutoCompleteKeyUp ( object sender, KeyEventArgs e ) : void
OnAutoCompleteSelectedIndexChanged ( object sender, EventArgs e ) : void
PutAutoCompleteSuggestion ( ) : void
ValidateExpression ( ) : bool
btnCancel_Click ( object sender, EventArgs e ) : void
btnFetch_Click ( object sender, EventArgs e ) : void
btnGetValues_Click ( object sender, EventArgs e ) : void
btnHide_Click ( object sender, EventArgs e ) : void
btnOK_Click ( object sender, EventArgs e ) : void
btnValidate_Click ( object sender, EventArgs e ) : void
curvePolygonToolStripMenuItem_Click ( object sender, EventArgs e ) : void
curveStringToolStripMenuItem_Click ( object sender, EventArgs e ) : void
function_Click ( object sender, EventArgs e ) : void
lineStringToolStripMenuItem_Click ( object sender, EventArgs e ) : void
lstValues_MouseDoubleClick ( object sender, MouseEventArgs e ) : void
pointToolStripMenuItem_Click ( object sender, EventArgs e ) : void
polygonToolStripMenuItem_Click ( object sender, EventArgs e ) : void
property_Click ( object sender, EventArgs e ) : void
txtExpression_KeyDown ( object sender, KeyEventArgs e ) : void
txtExpression_KeyUp ( object sender, KeyEventArgs e ) : void
usingGeometryVisualizerToolStripMenuItem_Click ( object sender, EventArgs e ) : void

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

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

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

EditExpression() публичный статический Метод

Edits the expression.
public static EditExpression ( FdoConnection conn, ClassDefinition classDef, ClassDefinition>.Dictionary aliasedClasses, string expr, ExpressionMode mode ) : string
conn FdoConnection The conn.
classDef ClassDefinition The class def.
aliasedClasses ClassDefinition>.Dictionary
expr string The expr.
mode ExpressionMode The mode.
Результат string

NewExpression() публичный статический Метод

Creates a new expression.
public static NewExpression ( FdoConnection conn, ClassDefinition classDef, ClassDefinition>.Dictionary aliasedClasses, ExpressionMode mode ) : string
conn FdoConnection The conn.
classDef ClassDefinition The class def.
aliasedClasses ClassDefinition>.Dictionary
mode ExpressionMode The mode.
Результат string

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

Raises the E:System.Windows.Forms.Form.Load event.
protected OnLoad ( EventArgs e ) : void
e EventArgs An that contains the event data.
Результат void