C# Class RpgCodeExpress.ProjectExplorer

Mostra file Open project: rpgtoolkit/rpgcodeexpress Class Usage Examples

Public Methods

Method Description
PopulateTreeView ( ) : void

Populates the treeview with the parent parentNode and any sub nodes.

ProjectExplorer ( ) : System

Creates a project explorer.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnNodeClick ( NodeClickEventArgs e ) : void
OnNodeDoubleClick ( NodeClickEventArgs e ) : void
OnNodeRename ( NodeLabelRenameEventArgs e ) : void

Private Methods

Method Description
CheckFileName ( string filename, ExplorerNode editedNode ) : string

Checks the file name to see if it is valid.

CreateNewFile ( ) : void

Creates a blank .prg file.

DeleteFile ( ) : void

Deletes the file or folder the parentNode represents.

EnableNodeEdit ( ) : void

Toogles whether or not node labels can be edited based on the current selected parent node.

InitializeComponent ( ) : void

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

ProjectExplorer_Load ( object sender, EventArgs e ) : void
RenameNode ( NodeLabelEditEventArgs e, ExplorerNode editedNode ) : void

Renames a file.

UpdateChildren ( List children, string parentOldPath, string parentNewPath ) : void

btnCollapseAll_Click ( object sender, EventArgs e ) : void
btnOpen_Click ( object sender, EventArgs e ) : void
btnRefresh_Click ( object sender, EventArgs e ) : void
cmsFileBrowser_Opening ( object sender, CancelEventArgs e ) : void
mnuItemDelete_Click ( object sender, EventArgs e ) : void
mnuItemNew_Click ( object sender, EventArgs e ) : void
mnuItemOpenWindowsExplorer_Click ( object sender, EventArgs e ) : void
mnuItemOpen_Click ( object sender, EventArgs e ) : void
mnuItemRename_Click ( object sender, EventArgs e ) : void
newFolderToolStripMenuItem_Click ( object sender, EventArgs e ) : void
treFileBrowser_AfterLabelEdit ( object sender, NodeLabelEditEventArgs e ) : void
treFileBrowser_AfterSelect ( object sender, TreeViewEventArgs e ) : void
treFileBrowser_BeforeCollapse ( object sender, TreeViewCancelEventArgs e ) : void
treFileBrowser_BeforeExpand ( object sender, TreeViewCancelEventArgs e ) : void
treFileBrowser_DragDrop ( object sender, DragEventArgs e ) : void
treFileBrowser_DragEnter ( object sender, DragEventArgs e ) : void
treFileBrowser_DragOver ( object sender, DragEventArgs e ) : void
treFileBrowser_ItemDrag ( object sender, ItemDragEventArgs e ) : void
treFileBrowser_KeyPress ( object sender, KeyPressEventArgs e ) : void
treFileBrowser_MouseDown ( object sender, MouseEventArgs e ) : void
treFileBrowser_NodeMouseDoubleClick ( object sender, TreeNodeMouseClickEventArgs 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

OnNodeClick() protected method

protected OnNodeClick ( NodeClickEventArgs e ) : void
e NodeClickEventArgs
return void

OnNodeDoubleClick() protected method

protected OnNodeDoubleClick ( NodeClickEventArgs e ) : void
e NodeClickEventArgs
return void

OnNodeRename() protected method

protected OnNodeRename ( NodeLabelRenameEventArgs e ) : void
e NodeLabelRenameEventArgs
return void

PopulateTreeView() public method

Populates the treeview with the parent parentNode and any sub nodes.
public PopulateTreeView ( ) : void
return void

ProjectExplorer() public method

Creates a project explorer.
public ProjectExplorer ( ) : System
return System