摘要: 取得控制台应用程序的根目录方法1:Environment.CurrentDirectory 取得或设置当前工作目录的完整限定路径2:AppDomain.CurrentDomain.BaseDirectory 获取基目录,它由程序集冲突解决程序用来探测程序集 取得WinForm应用程序的根目录方法1: 阅读全文
posted @ 2017-12-01 14:35 幸福安康 阅读(264) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Timers; namespace DaoChuCore2 { class Program { static void Main(string[] args) { System.Timers.Timer aTimer = new System.Timers.Timer(... 阅读全文
posted @ 2017-12-01 14:27 幸福安康 阅读(4864) 评论(0) 推荐(0) 编辑