如何在我的程序和资源管理器之间实现拖放 仅限 Windows 应用程序
最佳答案
只要您使用的是 WinForms,它实际上就非常简单。请参阅这两篇文章以帮助您入门:
- Drag and Drop files from Windows Explorer to Windows Form
- Drag and Drop Text Files from Windows Explorer to your Windows Form Application
以防万一您使用的是 WPF,this tutorial和 this SO thread应该有帮助。
关于c# - 在 C# 中拖放?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/669204/