C# Class Fractrace.Basic.ParameterDictControl

Control to view and edit all public ParameterDict Entries.
Inheritance: System.Windows.Forms.UserControl
ファイルを表示 Open project: trafassel/Gestaltlupe

Protected Properties

Property Type Description
_choosenHirarchy string
_nodes TreeNode>.Dictionary

Public Methods

Method Description
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.

Protected Methods

Method Description
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.

Private Methods

Method Description
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

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetCategory() protected method

protected GetCategory ( string fullPath ) : string
fullPath string
return string

GetName() protected method

Get text of corresponding tree node.
protected GetName ( string category ) : string
category string
return string

Init() protected method

Build hierarchy from ParameterDict entries.
protected Init ( ) : void
return void

NeedSubNodes() protected method

Return true, if node corresponding to given category need subnodes to edit subentries.
protected NeedSubNodes ( string category ) : bool
category string
return bool

ParameterDictControl() public method

public ParameterDictControl ( ) : System.Collections.Generic
return System.Collections.Generic

SelectNode() public method

Ein Knoten mit einer bestimmten Hirarchie wurde ausgewählt.
public SelectNode ( string hirarchy ) : void
hirarchy string
return void

SelectTreeNode() public method

public SelectTreeNode ( string hirarchy ) : void
hirarchy string
return void

ShowTree() public method

public ShowTree ( bool active = true ) : void
active bool
return void

UpdateFromData() public method

Redraw Data Page.
public UpdateFromData ( ) : void
return void

Property Details

_choosenHirarchy protected_oe property

Id of currently selected hirarchy.
protected string _choosenHirarchy
return string

_nodes protected_oe property

Nodes of this three with unique name of the entry as key.
protected Dictionary _nodes
return TreeNode>.Dictionary