将文件从Windows资源管理器拖放到面板并读取其路径(Windows 8,c#formapp) [英] drag and drop a file from windows explorer to a panel and read its path (windows 8,c# formapp)

查看:172
本文介绍了将文件从Windows资源管理器拖放到面板并读取其路径(Windows 8,c#formapp)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将文件从Windows资源管理器拖放到面板并读取其路径?

根据这篇文章我做了它所说的。

但没有事件(Form1_DragDrop和Form1_DragEnter)触发。

how do I drag and drop a file from windows explorer to a panel and read its path?
according to this article I did what it said.
but no event(Form1_DragDrop and Form1_DragEnter) fire.

推荐答案

本文介绍winform的拖放:



将文件从Windows资源管理器拖放到Windows窗体 [ ^ ]



希望有所帮助



不要忘记喜欢和订阅:Þ
This article covers winform drag and drop:

Drag and Drop files from Windows Explorer to Windows Form[^]

Hope that helps

Don't forget to like and subscribe :Þ


这篇关于将文件从Windows资源管理器拖放到面板并读取其路径(Windows 8,c#formapp)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆