摘要: 参考 : https://www.cnblogs.com/kuangzhenxia-416/p/11728928.html//获取所有字体集合 System.Drawing.Text.InstalledFontCollection MyFont = new System.Drawing.Text.I 阅读全文
posted @ 2024-08-21 20:10 enych 阅读(131) 评论(0) 推荐(0) 编辑
摘要: <a-form-item label="日期" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-range-picker @change="onChangeTime" v-model="queryParam.PageTimeText" /> </a 阅读全文
posted @ 2021-09-01 16:40 enych 阅读(279) 评论(0) 推荐(0) 编辑
摘要: export default { filters: { formatDate(time) { var date = new Date(time); var year=date.getFullYear(); var month=date.getMonth()+1; var date=date.getD 阅读全文
posted @ 2021-08-26 11:21 enych 阅读(778) 评论(0) 推荐(0) 编辑
摘要: public void ConfigureServices(IServiceCollection services) #region 配置跨域 //配置跨域处理 services.AddCors(options => options.AddPolicy("CorsPolicy", builder = 阅读全文
posted @ 2021-08-26 08:50 enych 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-08-06 14:49 enych 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 运行 gpedit.msc 阅读全文
posted @ 2021-08-06 14:34 enych 阅读(183) 评论(0) 推荐(0) 编辑
摘要: string ConnectionString = ConString; SqlSugarClient db = new SqlSugarClient(new ConnectionConfig() { ConnectionString = ConnectionString, DbType = DbT 阅读全文
posted @ 2021-07-26 18:08 enych 阅读(1648) 评论(0) 推荐(0) 编辑
摘要: private void button2_Click(object sender, EventArgs e) { var btnlist = GetButtons(this.panel1.Controls); //btnSave for (int i = 0; i < btnlist.Count; 阅读全文
posted @ 2021-07-20 09:48 enych 阅读(101) 评论(0) 推荐(0) 编辑
摘要: //添加根节点 var d1 = tv.Nodes.Add("全部");//把内容作为根节点添加 //添加子节点 TreeNode tnn = new TreeNode(); tnn.Tag = "123"; tnn.Text = "11212312"; d1.Nodes.Add(tnn); 阅读全文
posted @ 2021-07-03 15:12 enych 阅读(506) 评论(0) 推荐(0) 编辑
摘要: #region 初始化 下拉框 public void InitSelects() { //设置性别 var xb_list = new string[] { "男", "女" }; //设置民族 var mz_list = new string[] {"汉族", "蒙古族", "回族", "藏族" 阅读全文
posted @ 2021-06-24 08:51 enych 阅读(1117) 评论(0) 推荐(0) 编辑