摘要: 把acad.exe.config文件修改为: <configuration> <startup><!--We always use the latest version of the framework installed on the computer. If youare having prob 阅读全文
posted @ 2017-08-30 20:40 hunklee 阅读(655) 评论(0) 推荐(0) 编辑
摘要: //获取当前进程的完整路径,包含文件名(进程名)。string str = this.GetType().Assembly.Location;result: X:\xxx\xxx\xxx.exe (.exe文件所在的目录+.exe文件名)//获取新的 Process 组件并将其与当前活动的进程关联的 阅读全文
posted @ 2017-08-30 20:39 hunklee 阅读(167) 评论(0) 推荐(0) 编辑