摘要: 页面引入即可<link rel="stylesheet" href="https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#using-thtext-and-externalizing-text"> 阅读全文
posted @ 2020-07-25 10:16 回忆的忆 阅读(485) 评论(1) 推荐(0) 编辑
摘要: /// <summary> /// 生成颜色条Item /// </summary> private List<Color> GenColorBarItem(Color startColor,Color endColor) { List<Color> colorList = new List<Col 阅读全文
posted @ 2020-01-16 14:43 回忆的忆 阅读(846) 评论(0) 推荐(1) 编辑
摘要: 为什么不使用EF,各有各的看法,此处不做讨论。 如何快速使用高效使用SqlSugar。 下面举栗一个使用全过程 前期工作 1:下载SqlSugar。 2:下载MySql.Data 直接在NuGet中搜索安装,查看依赖项选择合适版本。 1、创建立本地数据库表 CREATE TABLE `codes` 阅读全文
posted @ 2019-12-23 20:33 回忆的忆 阅读(5736) 评论(0) 推荐(0) 编辑
摘要: public static T ParseEnum<T>(object oValue, T defaultValue) { if (oValue == null) return defaultValue; if (oValue.Equals('\0')) return (T)Convert.Chan 阅读全文
posted @ 2019-11-13 17:54 回忆的忆 阅读(962) 评论(0) 推荐(0) 编辑
摘要: protected override void OnHandleCreated(EventArgs e) { InitializeStyles(); base.OnHandleCreated(e); haveHandle = true; } private void InitializeStyles() { SetStyle(ControlStyles.AllPaintingInWmPaint, 阅读全文
posted @ 2019-08-22 15:47 回忆的忆 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 直接调用即可 阅读全文
posted @ 2019-07-09 18:34 回忆的忆 阅读(348) 评论(0) 推荐(0) 编辑
摘要: NLog是一个记录日志组件,和log4net一样被广泛使用,它可以将日志保存到文本文件、CSV、控制台、VS调试窗口、数据库等。最近刚用到这个组件,觉得不错,水一篇。 下载 通过Nuget安装NLog,你也可以同时安装NLog.Config,它会在项目目录下帮你建立一个配置文件NLog.config 阅读全文
posted @ 2019-07-09 18:02 回忆的忆 阅读(7408) 评论(0) 推荐(0) 编辑
摘要: menuContainer = new RadialMenuContainer(); menuContainer.Font = new Font(this.Font.FontFamily, 7); menuContainer.SubItems.Add(CreateItem("载入", "\uf019"... 阅读全文
posted @ 2019-07-05 18:12 回忆的忆 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 记录使用devcomponent charControl。 阅读全文
posted @ 2019-07-05 18:10 回忆的忆 阅读(554) 评论(0) 推荐(0) 编辑
摘要: 1、零基础快速入门SpringBoot2.0 1、SpringBoot2.x课程全套介绍和高手系列知识点 简介:介绍SpringBoot2.x课程大纲章节 java基础,jdk环境,maven基础 2、SpringBoot2.x依赖环境和版本新特性说明简介:讲解新版本依赖环境和springboot2 阅读全文
posted @ 2019-04-23 15:30 回忆的忆 阅读(710) 评论(0) 推荐(0) 编辑