摘要: C#实现文件拖放: 主要用窗体的AllowDrop属性和DragEnter事件来实现 窗体加载设 AllowDrop=true; Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> private void Form1_DragE... 阅读全文
posted @ 2009-04-19 23:18 Rain520 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 返回当前系统的临时文件夹的路径: Path.GetTempPath(); 获取或设置当前工作目录的完全限定路径: Environment.CurrentDirectory 属性 获取启动了应用程序的可执行文件的路径,不包括可执行文件的名称: Application.StartupPath 属性 阅读全文
posted @ 2009-04-19 22:50 Rain520 阅读(150) 评论(0) 推荐(0) 编辑