C# 클래스 MapView.DirPicker

Purpose: general purpose folder/dir picker.
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: pmprog/OpenXCOM.Tools 1 사용 예제들

공개 메소드들

메소드 설명
DirPicker ( ) : System

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
ExtractIconEx ( string sFile, int iIndex, IntPtr &piLargeVersion, IntPtr &piSmallVersion, int iAmountIcons ) : int
FindNodeInNodes ( string sNodeText, TreeNodeCollection tncNodes ) : TreeNode

Purpose: finds the node with the given sNodetext in the collection tncNodes. If found, a reference to the nodeobject is returned, otherwise null is returned

GetSubDirectoryNodes ( TreeNode tnSelectedNode ) : void

Purpose: checks if the selected node has childs. if not, the 'directory' the node represents is read and added as childnodes (1 node per directory entry). Each node will have a dummy node, so the treeview will show a [+] for fast browsing. This dummy node is removed with the first call to this routine.

InitTreeAndFillRoot ( ) : void

Purpose: Initializes the tree and fill the root node with the initial nodes.

InitializeComponent ( ) : void

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

ReflectCurrentPathInTree ( ) : void

Purpose: when the property for the current path is set, this path should be reflected in the tree visible. The complete path is searched in the tree, and per directory element in the passed path, that directory is added to the tree.

btnCancel_Click ( object sender, System e ) : void
btnOK_Click ( object sender, System e ) : void
tvMain_AfterCollapse ( object sender, System e ) : void
tvMain_AfterExpand ( object sender, System e ) : void
tvMain_AfterSelect ( object sender, System e ) : void
tvMain_BeforeExpand ( object sender, System e ) : void

메소드 상세

DirPicker() 공개 메소드

public DirPicker ( ) : System
리턴 System

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void