drag and drop on NotifyIcon in tray in C#

前端 未结 3 1937
悲&欢浪女
悲&欢浪女 2020-12-16 05:44

I am trying to create a C# application that runs in tray where I can drop files on it\'s icon. Is there any way to get the path of the file dropped on the System Tray icon?

3条回答
  •  情深已故
    2020-12-16 06:03

    it's not possible to do this, the easy way. You can show a dummy Form, if the cursor is in a special area near the notifyicon. The dummy Form can get the filepath of the droped file.

提交回复
热议问题