摘要:
添加Luban库 库地址: //https://github.com/Curzibn/Luban implementation 'top.zibin:Luban:1.1.8' //https://github.com/Curzibn/Luban 使用方法: package com.example.s 阅读全文
摘要:
安装Autofac Program文件中加入UseServiceProviderFactory public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); 阅读全文
摘要:
第一步 定义一个 ServiceProviderInstance对象 public class ServiceProviderInstance { public static IServiceProvider Instance { get; set; } } 第二步 Startup.cs 的 Con 阅读全文
摘要:
一、设置winForm窗体程序的输出类型为类库 二、WPF程序添加引用 三、WPF控件中加入WindowsFormsHost控件 四、后台把winForm的窗体加入到windowsFormsHost控件中去 Form1 mainform = new Form1(); mainform.TopLeve 阅读全文
摘要:
private static XWPFTableCell CreateCell(XWPFTableRow row) { XWPFTableCell cell = row.CreateCell(); CT_Tc cttc = cell.GetCTTc(); CT_TcPr ctPr = cttc.Ad 阅读全文
摘要:
传了NULL空异常报错 阅读全文
摘要:
a[data-href] { pointer-events: none; } 阅读全文
摘要:
@{ Layout = "~/Views/Shared/_LayUILayout.cshtml"; } <section> @RenderBody() </section> 阅读全文
摘要:
public BaseResult Office365Send(string toEmail, string fromEmail, string subject, string body, bool isBodyHtml) { try { logger.Info("发送失败,用户:" + toEma 阅读全文
摘要:
/// <summary> /// 根据模板生成PDF /// </summary> /// <param name="templetPdf">PDF模板</param> /// <param name="newPdf">新生成的PDF</param> /// <param name="dict"> 阅读全文