boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - how把文件drag到一个application's icon, so it takes the file as input ?
相关主题
如何修改程序的背景,或者让同一程序有不同的title bar text?
在ubuntu (linux) 给eclipse下连接R碰到问题。
fork(): why both if and else are executed?
GO似乎是目前最难反编译的代码了
how to write IE plug-in?
How to get the next active Window?
revision control
Eclipse 怎样支持中文?
IDE for C++
windows下操作大的文本文件比如1M的
相关话题的讨论汇总
话题: drag话题: icon话题: takes话题: 文件
进入Programming版参与讨论
1 (共1页)
s*****w
发帖数: 1527
1
c#,
你可以在windows explorer里找到一个txt文件,
然后drag到桌面上notepad的icon,
这样自动打开这个文件。
请问在c#里如何实现这个drag?
a****l
发帖数: 8211
2
I think it has nothing to do with C#. It is some common feature to all
windows application written in any language.

【在 s*****w 的大作中提到】
: c#,
: 你可以在windows explorer里找到一个txt文件,
: 然后drag到桌面上notepad的icon,
: 这样自动打开这个文件。
: 请问在c#里如何实现这个drag?

l*****c
发帖数: 1153
3
when you drag files onto an application icon, windows just pass the name of
the file as parameter to the executable of the application. So, just let
your application takes filename from command line.

【在 s*****w 的大作中提到】
: c#,
: 你可以在windows explorer里找到一个txt文件,
: 然后drag到桌面上notepad的icon,
: 这样自动打开这个文件。
: 请问在c#里如何实现这个drag?

1 (共1页)
进入Programming版参与讨论
相关主题
windows下操作大的文本文件比如1M的
谁知道怎么把binary file 转成 文档呢?
C++ 下载版本
文本显示问题
VBOX这个大BUGGIE
求助:帮忙修复一个损坏的文本文件,有包子
求助:帮忙修复一个损坏的文本文件,有包子
请大家推荐 portable free C++ coding text editor
emacs为啥要把shortcut设置成那么别扭
How to close notepad from windows cmd console ?
相关话题的讨论汇总
话题: drag话题: icon话题: takes话题: 文件