C# Class Common.Controls.ControllerTree

Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: sall/vixen

Méthodes publiques

Méthode Description
AddNewControllerOfTypeWithPrompts ( System.Guid controllerTypeId ) : bool
ClearSelectedNodes ( ) : void
ConfigureController ( IControllerDevice controller ) : bool
ControllerTree ( ) : System
DeleteControllersWithPrompt ( IEnumerable controllers ) : bool
OnControllerSelectionChanged ( EventArgs e = null ) : void
OnControllersChanged ( EventArgs e = null ) : void
PopulateControllerTree ( Dictionary controllersAndOutputs ) : void
PopulateControllerTree ( IControllerDevice controllerToSelect = null ) : void
RenameControllerWithPrompt ( IControllerDevice outputController ) : bool
SetControllerOutputCount ( IControllerDevice controller ) : bool
UpdateScrollPosition ( ) : void

Private Methods

Méthode Description
AddControllerToTree ( TreeNodeCollection collection, IControllerDevice controller ) : void
ControllerTree_Load ( object sender, EventArgs e ) : void
FindNodeInTreeAtPath ( TreeView tree, string path ) : TreeNode
FindTopParentInTreeAtPath ( TreeView tree, string path ) : TreeNode
GenerateEquivalentTreeNodeFullPathFromController ( IControllerDevice controller ) : string
GenerateEquivalentTreeNodeFullPathFromControllerAndOutput ( IControllerDevice controller, int output ) : string
GenerateTreeNodeFullPath ( TreeNode node, string separator ) : string
SaveTreeNodeState ( TreeNodeCollection collection ) : void
SaveTreeNodeTopVisible ( ) : void
_PopulateControllerTree ( IEnumerable treeNodesToSelect = null ) : void
channelCountToolStripMenuItem_Click ( object sender, EventArgs e ) : void
configureToolStripMenuItem_Click ( object sender, EventArgs e ) : void
contextMenuStripTreeView_Opening ( object sender, CancelEventArgs e ) : void
deleteToolStripMenuItem_Click ( object sender, EventArgs e ) : void
renameToolStripMenuItem_Click ( object sender, EventArgs e ) : void
treeview_AfterSelect ( object sender, TreeViewEventArgs e ) : void
treeview_Deselected ( object sender, EventArgs e ) : void
treeview_KeyDown ( object sender, KeyEventArgs e ) : void

Method Details

AddNewControllerOfTypeWithPrompts() public méthode

public AddNewControllerOfTypeWithPrompts ( System.Guid controllerTypeId ) : bool
controllerTypeId System.Guid
Résultat bool

ClearSelectedNodes() public méthode

public ClearSelectedNodes ( ) : void
Résultat void

ConfigureController() public méthode

public ConfigureController ( IControllerDevice controller ) : bool
controller IControllerDevice
Résultat bool

ControllerTree() public méthode

public ControllerTree ( ) : System
Résultat System

DeleteControllersWithPrompt() public méthode

public DeleteControllersWithPrompt ( IEnumerable controllers ) : bool
controllers IEnumerable
Résultat bool

OnControllerSelectionChanged() public méthode

public OnControllerSelectionChanged ( EventArgs e = null ) : void
e System.EventArgs
Résultat void

OnControllersChanged() public méthode

public OnControllersChanged ( EventArgs e = null ) : void
e System.EventArgs
Résultat void

PopulateControllerTree() public méthode

public PopulateControllerTree ( Dictionary controllersAndOutputs ) : void
controllersAndOutputs Dictionary
Résultat void

PopulateControllerTree() public méthode

public PopulateControllerTree ( IControllerDevice controllerToSelect = null ) : void
controllerToSelect IControllerDevice
Résultat void

RenameControllerWithPrompt() public méthode

public RenameControllerWithPrompt ( IControllerDevice outputController ) : bool
outputController IControllerDevice
Résultat bool

SetControllerOutputCount() public méthode

public SetControllerOutputCount ( IControllerDevice controller ) : bool
controller IControllerDevice
Résultat bool

UpdateScrollPosition() public méthode

public UpdateScrollPosition ( ) : void
Résultat void