愤斗的程序猿丷
Keep on going never give up.
摘要: public LoginForm() { InitializeComponent(); //判断是否调试状态 Process currentProcess = Process.GetCurrentProcess();//获取当前进程 //获取当前运行程序完全限定名 ... 阅读全文
posted @ 2018-02-09 09:15 愤斗的程序猿丷 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 简单的使用例子: 1、先建好Word文档,设置好排版、插入标签 2、代码如下: 阅读全文
posted @ 2018-02-09 09:04 愤斗的程序猿丷 阅读(623) 评论(0) 推荐(0) 编辑
摘要: DateTime dt = DateTime.Now; //当前时间 DateTime startWeek = dt.AddDays(1 - Convert.ToInt32(dt.DayOfWeek.ToString("d"))); //本周周一 DateTime endWeek = startWeek.AddDays(6); //本周周日 DateTime startMonth = dt... 阅读全文
posted @ 2018-02-09 08:43 愤斗的程序猿丷 阅读(273) 评论(0) 推荐(0) 编辑