C# Class FdoToolbox.Base.Controls.ObjectExplorer

Inheritance: ViewContent, IObjectExplorer
Afficher le fichier Open project: jumpinjackie/fdotoolbox Class Usage Examples

Méthodes publiques

Méthode Description
GetContextMenu ( string nodeType ) : ContextMenuStrip

Gets the context menu.

GetRootNode ( string name ) : TreeNode

Gets the root node in the Object Explorer

GetSelectedNode ( ) : TreeNode

Gets the selected node in the Object Explorer

ObjectExplorer ( ) : System

Initializes a new instance of the ObjectExplorer class.

RegisterContextMenu ( string nodeType, string addInTreePath ) : void

Registers a context menu in the Object Explorer

RegisterImage ( string imgResource ) : void

Registers an image resource in the Object Explorer

RegisterRootNode ( string name, string text, string imgResource, string addInTreePath ) : void

Registers the root node in the Object Explorer

Private Methods

Méthode Description
InitTreeView ( ) : void
OnAfterExpand ( object sender, TreeViewEventArgs e ) : void
OnAfterSelect ( object sender, TreeViewEventArgs e ) : void

Method Details

GetContextMenu() public méthode

Gets the context menu.
public GetContextMenu ( string nodeType ) : ContextMenuStrip
nodeType string Type of the node.
Résultat System.Windows.Forms.ContextMenuStrip

GetRootNode() public méthode

Gets the root node in the Object Explorer
public GetRootNode ( string name ) : TreeNode
name string The name.
Résultat System.Windows.Forms.TreeNode

GetSelectedNode() public méthode

Gets the selected node in the Object Explorer
public GetSelectedNode ( ) : TreeNode
Résultat System.Windows.Forms.TreeNode

ObjectExplorer() public méthode

Initializes a new instance of the ObjectExplorer class.
public ObjectExplorer ( ) : System
Résultat System

RegisterContextMenu() public méthode

Registers a context menu in the Object Explorer
public RegisterContextMenu ( string nodeType, string addInTreePath ) : void
nodeType string Type of the node.
addInTreePath string The add in tree path.
Résultat void

RegisterImage() public méthode

Registers an image resource in the Object Explorer
public RegisterImage ( string imgResource ) : void
imgResource string The img resource.
Résultat void

RegisterRootNode() public méthode

Registers the root node in the Object Explorer
public RegisterRootNode ( string name, string text, string imgResource, string addInTreePath ) : void
name string The name.
text string The text.
imgResource string The img resource.
addInTreePath string The add in tree path.
Résultat void