上一页 1 2 3 4 5 6 7 ··· 24 下一页
摘要: 添加Luban库 库地址: //https://github.com/Curzibn/Luban implementation 'top.zibin:Luban:1.1.8' //https://github.com/Curzibn/Luban 使用方法: package com.example.s 阅读全文
posted @ 2021-10-03 11:43 _York 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 安装Autofac Program文件中加入UseServiceProviderFactory public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); 阅读全文
posted @ 2021-10-01 15:54 _York 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 第一步 定义一个 ServiceProviderInstance对象 public class ServiceProviderInstance { public static IServiceProvider Instance { get; set; } } 第二步 Startup.cs 的 Con 阅读全文
posted @ 2021-10-01 15:51 _York 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 一、设置winForm窗体程序的输出类型为类库 二、WPF程序添加引用 三、WPF控件中加入WindowsFormsHost控件 四、后台把winForm的窗体加入到windowsFormsHost控件中去 Form1 mainform = new Form1(); mainform.TopLeve 阅读全文
posted @ 2021-07-20 21:23 _York 阅读(2133) 评论(2) 推荐(0) 编辑
摘要: private static XWPFTableCell CreateCell(XWPFTableRow row) { XWPFTableCell cell = row.CreateCell(); CT_Tc cttc = cell.GetCTTc(); CT_TcPr ctPr = cttc.Ad 阅读全文
posted @ 2021-05-29 22:52 _York 阅读(1347) 评论(0) 推荐(2) 编辑
摘要: 传了NULL空异常报错 阅读全文
posted @ 2021-05-29 22:36 _York 阅读(367) 评论(0) 推荐(0) 编辑
摘要: a[data-href] { pointer-events: none; } 阅读全文
posted @ 2021-05-27 20:39 _York 阅读(73) 评论(0) 推荐(0) 编辑
摘要: @{ Layout = "~/Views/Shared/_LayUILayout.cshtml"; } <section> @RenderBody() </section> 阅读全文
posted @ 2021-05-12 10:14 _York 阅读(74) 评论(0) 推荐(0) 编辑
摘要: public BaseResult Office365Send(string toEmail, string fromEmail, string subject, string body, bool isBodyHtml) { try { logger.Info("发送失败,用户:" + toEma 阅读全文
posted @ 2021-04-23 14:40 _York 阅读(158) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 根据模板生成PDF /// </summary> /// <param name="templetPdf">PDF模板</param> /// <param name="newPdf">新生成的PDF</param> /// <param name="dict"> 阅读全文
posted @ 2021-04-08 10:58 _York 阅读(133) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 24 下一页