C#--使用json配置文件方法【读写Json,适合小项目】
1,DAL中添加帮助类JsonConfigHelper using Newtonsoft.Json; using System; using System.Collections.Generi ...
1,DAL中添加帮助类JsonConfigHelper using Newtonsoft.Json; using System; using System.Collections.Generi ...
1,添加jsconfig1.json配置文件 2,编辑好json文件 3,在bin目录中新建一个Config文件夹,把json文件复制过来 4,新建配置类 ...
以下是学习笔记: 1,参数设置的子窗体设置 【1.1】大小要和主窗体嵌入的panel尺寸一致 【2.2】字体和大小要一致 【3.3】无边框设置FormBorderStyle.None 2,批 ...