Embedding a File Explorer instance in a Windows Forms application form

前端 未结 8 1386
心在旅途
心在旅途 2020-12-01 02:04

My (C#, .NET 3.5) application generates files and, in addition to raising events that can be caught and reacted to, I want to display the target folder to the user in a form

8条回答
  •  一向
    一向 (楼主)
    2020-12-01 02:19

    In order to handle renaming, deleting and make other customization you need to write your own file explorer. WebBrowser control is not suitable for your needs. It's just a wrapper over ActiveX component.
    You should check this codeproject article. It contains an implementation of file explorer. There are few more samples of file browser:
    one
    two

提交回复
热议问题