ATF File Explorer Sample - kaisu1986/ATF GitHub Wiki
FileExplorer is a sample viewer that displays the user's file hierarchy and files. For information on this sample's programming, see File Explorer Programming Discussion.
- Use of Managed Extensibility Framework (MEF) to put applications together and to extend a file view.
- Use of the application shell framework, including CommandService, SettingsService, and StatusService. FileExplorer does not use ControlHostService.
- Use of the TreeControl, TreeControlAdapter, and the ITreeView and IItemView interfaces to display the file folder tree structure.
- Use of ListView, ListViewAdapter, and IListView and IItemView interfaces to display the list of files in the selected file folder.
- Use of the UserFeedbackService for bug reporting.
- Use of the VersionUpdateService to test upgrading to the latest SHIP version of the application. This is just a test. There is not really a newer version of FileExplorer on SHIP.
- Double-click the FileExplorer.exe in ATF\Samples\FileExplorer\bin\Release.
- An Explorer-like window appears, showing the user's file hierarchy and files, and an Update dialog box pops up, that tests the version update feature.
- Click "No" on the Update dialog box.
- File: choose Exit to exit FileExplorer.
- Edit:
- Keyboard Shortcuts: use the Customize Keyboard Shortcuts window to set up keyboard shortcuts.
- Load or Save Settings: use the Load and Save Settings window to save current FileExplorer application settings, or to load application settings from a file.
- Preferences: set application preferences such as whether to check for updates at startup (default is TRUE).
- Help:
- Send Feedback: use the Send Feedback window to report and submit bugs to SHIP.
- Check for update: use to check for updates to FileExplorer.
Expand and collapse file hierarchies by clicking the "+" or "-" sign next to folder names.