上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 25 下一页
摘要: /// <summary> /// 日期格式 2019-04 /// </summary> public const string DATE_MONTH_FORMAT = "yyyy-MM"; /// <summary> /// 日期格式 2019-04-25 /// </summary> publ 阅读全文
posted @ 2021-03-12 18:08 博客YS 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 1.效果图 实现代码: 初始化列代码 /// <summary> /// 初始化时段信息显示列 /// </summary> private void InitColumnTimesInfo() { List<Ctrls.Grid.GridColumn> columns = new List<Ctr 阅读全文
posted @ 2021-03-12 13:33 博客YS 阅读(143) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 获取本周指定周几的日期 /// </summary> /// <returns></returns> public string GetThisWeekMonday(System.DayOfWeek dw) { DateTime firstDate; DateTi 阅读全文
posted @ 2021-03-11 16:19 博客YS 阅读(124) 评论(0) 推荐(0) 编辑
摘要: dgvTimesInfo.ReadOnly = false; List<Ctrls.Grid.GridColumn> columns = new List<Ctrls.Grid.GridColumn>(); columns.Add(new Ctrls.Grid.GridColumn() { Capt 阅读全文
posted @ 2021-03-10 16:01 博客YS 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1、获得当前运行程序的路径 1 string rootPath = Directory.GetCurrentDirectory(); 2、获得该文件夹下的文件,返回类型为FileInfo 1 string path=@"X:\XXX\XX"; 2 DirectoryInfo root = new D 阅读全文
posted @ 2021-03-08 15:06 博客YS 阅读(63) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-01-15 18:06 博客YS 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-01-15 18:00 博客YS 阅读(0) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 公用方法 /// </summary> public class DemPublic { private const string BEGIN = "Begin"; private const string END = "End"; /// <summary> / 阅读全文
posted @ 2021-01-15 17:06 博客YS 阅读(250) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-01-15 17:02 博客YS 阅读(5) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-01-15 16:59 博客YS 阅读(2) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 25 下一页