摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文
posted @ 2020-11-01 21:52 WP-WangPin 阅读(145) 评论(0) 推荐(0) 编辑
摘要: //获取日期+时间 DateTime.Now.ToString(); // 2008-9-4 20:02:10 DateTime.Now.ToLocalTime().ToString(); // 2008-9-4 20:12:12 //获取日期 DateTime.Now.ToLongDateStri 阅读全文
posted @ 2020-11-01 18:17 WP-WangPin 阅读(2822) 评论(0) 推荐(0) 编辑
摘要: public Form1() { InitializeComponent(); System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = false;//设置该属性 为false } 阅读全文
posted @ 2020-11-01 18:04 WP-WangPin 阅读(116) 评论(0) 推荐(0) 编辑