C# Класс Fractrace.Basic.ParameterDictControl

Control to view and edit all public ParameterDict Entries.
Наследование: System.Windows.Forms.UserControl
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_choosenHirarchy string
_nodes TreeNode>.Dictionary

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

Метод Описание
ParameterDictControl ( ) : System.Collections.Generic
SelectNode ( string hirarchy ) : void

Ein Knoten mit einer bestimmten Hirarchie wurde ausgewählt.

SelectTreeNode ( string hirarchy ) : void
ShowTree ( bool active = true ) : void
UpdateFromData ( ) : void

Redraw Data Page.

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

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

Clean up any resources being used.

GetCategory ( string fullPath ) : string
GetName ( string category ) : string

Get text of corresponding tree node.

Init ( ) : void

Build hierarchy from ParameterDict entries.

NeedSubNodes ( string category ) : bool

Return true, if node corresponding to given category need subnodes to edit subentries.

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

Метод Описание
DataViewControl1_ElementChanged ( string name, string value ) : void
HasEntryControl ( string parameterName ) : bool

Return true, if corresponding parameter entry has an user control in ParameterDictControl.

InitializeComponent ( ) : void

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

UpdateFromDataIntern ( ) : void

Redraw Data Page.

treeView1_AfterSelect ( object sender, TreeViewEventArgs 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

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

protected GetCategory ( string fullPath ) : string
fullPath string
Результат string

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

Get text of corresponding tree node.
protected GetName ( string category ) : string
category string
Результат string

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

Build hierarchy from ParameterDict entries.
protected Init ( ) : void
Результат void

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

Return true, if node corresponding to given category need subnodes to edit subentries.
protected NeedSubNodes ( string category ) : bool
category string
Результат bool

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

public ParameterDictControl ( ) : System.Collections.Generic
Результат System.Collections.Generic

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

Ein Knoten mit einer bestimmten Hirarchie wurde ausgewählt.
public SelectNode ( string hirarchy ) : void
hirarchy string
Результат void

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

public SelectTreeNode ( string hirarchy ) : void
hirarchy string
Результат void

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

public ShowTree ( bool active = true ) : void
active bool
Результат void

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

Redraw Data Page.
public UpdateFromData ( ) : void
Результат void

Описание свойств

_choosenHirarchy защищенное свойство

Id of currently selected hirarchy.
protected string _choosenHirarchy
Результат string

_nodes защищенное свойство

Nodes of this three with unique name of the entry as key.
protected Dictionary _nodes
Результат TreeNode>.Dictionary