C# 클래스 FdoToolbox.Base.Controls.ObjectExplorer

상속: ViewContent, IObjectExplorer
파일 보기 프로젝트 열기: jumpinjackie/fdotoolbox 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
InitTreeView ( ) : void
OnAfterExpand ( object sender, TreeViewEventArgs e ) : void
OnAfterSelect ( object sender, TreeViewEventArgs e ) : void

메소드 상세

GetContextMenu() 공개 메소드

Gets the context menu.
public GetContextMenu ( string nodeType ) : ContextMenuStrip
nodeType string Type of the node.
리턴 System.Windows.Forms.ContextMenuStrip

GetRootNode() 공개 메소드

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

GetSelectedNode() 공개 메소드

Gets the selected node in the Object Explorer
public GetSelectedNode ( ) : TreeNode
리턴 System.Windows.Forms.TreeNode

ObjectExplorer() 공개 메소드

Initializes a new instance of the ObjectExplorer class.
public ObjectExplorer ( ) : System
리턴 System

RegisterContextMenu() 공개 메소드

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.
리턴 void

RegisterImage() 공개 메소드

Registers an image resource in the Object Explorer
public RegisterImage ( string imgResource ) : void
imgResource string The img resource.
리턴 void

RegisterRootNode() 공개 메소드

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.
리턴 void