An implementable file explorer with remarkable capability
this.fileExplorer1.FilteringExtensions = true;
this.fileExplorer1.Extensions.AddRange( new List<string>() { ".txt", ".lua"} );
ToolStripItem tool = new ToolStripButton("Save");
this.fileExplorer1.NodeContextMenuStrip.Items.Insert(1, tool);
tool.Click += (q, p) =>
{
File.WriteAllText(this.fileExplorer1.SelectedNode.Name, this.fastColoredTextBox1.Text);
};
this.fileExplorer1.SelectionAction += (q, p) =>
{
this.fastColoredTextBox1.Text = this.fileExplorer1.ReadSelectedNode();
};
- Utilize the BookMarkColor property to set the color for bookmarks
- If you wish to only witness files of a certain extension, add to the Extensions list, and set FilteringExtensions to true
- If you wish to remove/show the file information on file hover, set ShowFileInfoOnHover
- Drag and drop files/folders to move them
- Create new folders/files
- Delete folders/files
- Show file/folder properties
Utilize the PopulateView(string folderPath) method to fill the listBox, this is automatically utilized when you right click and select "Add Directory."