GithubHelp home page GithubHelp logo

tesuji / filebrowser Goto Github PK

View Code? Open in Web Editor NEW
26.0 3.0 10.0 758 KB

A faked Total Commander in C#

License: GNU General Public License v3.0

C# 98.59% HTML 1.41%
csharp dotnet visual-studio x86 total-commander file-browser

filebrowser's Introduction

FileBrowser

A faked Total Commander in C#

Features

Support basic keyboard shortcuts on folder and file

Function (Shortcut) How to implement
Copy (Ctrl+C) Use Clipboard to create file list that needed to copy. In cut, use additional flag CanCut in order to delete file after Cut.
Move (Ctrl+X) Like above
Paste (Ctrl+V) Paste file and folder from list in Clipboard to target folder
Delete (Delete or Shift+Delete) (Many file and folder) Use Microsoft.VisualBasic.FileIO.FileSystem.DeleteFile and FileSystem.DeleteDirectory to delete file and display familiar delete-file-prompt message box
Rename (F2) (Many file and folder) Set LabelEdit attritube of ListView and implement handler for AfterLabelEdit event
Find (Ctrl+F) Use seperate FormFileFinds form to search for files, where using DirectoryInfo.GetFiles and DirectoryInfo.GetDirectories
View in detail or in list Set View.Details or View.List
Sort file in column Implement handler for ColumnClick event with comparers such as CompareFileName, CompareFileExtension, CompareFileSize, etc
Use VirtualListView for faster display Set VirtualMode = true, handlers for CacheVirtualItems, RetrieveVirtualItem, SearchForVirtualItem
Support Drop&Drag Implement handlers for DragEnter, DragDrop, ItemDrag
Support file browser history In ShellHistory class

Clean user interface (UI) with 2 interactive windows

In fact, each window is a UserControl, mostly including other controls like ListView, TextBox, ComboBox, TreeView.

In Windows 8.1

Browse in many local drives

In sidepane In combobox

Menu context and shortcuts to interact with file and folder

Key Action
F1 / Ctrl+C Copy selected items
F2 Rename selected items
F3 View selected files
F4 Edit selected items
F5 Refresh file browser.
F6 / Ctrl+X Move selected items
F7 / Ctrl+Shift+N Create new folder
F8 Delete selected items
Ctrl+V Paste files or folders.
Ctrl+Q Exit the application.
Alt+Enter Open properties dialog for selected items.
Ctrl+F Search for files and folders.
Alt+ Go to parent folder
Backspace / Alt+ Go to previous folder.
Alt+ Go to the following folder.
Enter Open file or folder.
Delete Send files or folders to Recycle bin
Shift+Delete Permanently remove files or folders.

Edit, Run file directly with supported system formats such as MS Word, .exe

Compress file and folder

In menu bar In seperate form

TODO

  • Add handler for menu bar
  • Test suits
  • Add Travis CI build tests
  • Beautify Keyboards.html

Meta

  • Written by @lzutao
  • Release under GPLv3 License
  • Software is as is - no warranty expressed or implied.

filebrowser's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.