会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
York
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
25
下一页
2021年10月3日
Android 图片压缩
摘要: 添加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
阅读(318)
评论(0)
推荐(0)
2021年10月1日
Asp.net Core3.1使用Autofac
摘要: 安装Autofac Program文件中加入UseServiceProviderFactory public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run();
阅读全文
posted @ 2021-10-01 15:54 _York
阅读(121)
评论(0)
推荐(0)
Aps.net Core3.1 服务层获取IHttpContextAccessor和IConfiguration
摘要: 第一步 定义一个 ServiceProviderInstance对象 public class ServiceProviderInstance { public static IServiceProvider Instance { get; set; } } 第二步 Startup.cs 的 Con
阅读全文
posted @ 2021-10-01 15:51 _York
阅读(370)
评论(0)
推荐(0)
2021年7月20日
WPF程序中嵌入winForm窗体
摘要: 一、设置winForm窗体程序的输出类型为类库 二、WPF程序添加引用 三、WPF控件中加入WindowsFormsHost控件 四、后台把winForm的窗体加入到windowsFormsHost控件中去 Form1 mainform = new Form1(); mainform.TopLeve
阅读全文
posted @ 2021-07-20 21:23 _York
阅读(2978)
评论(2)
推荐(0)
2021年5月29日
NPOI 设置world表格单元格居中
摘要: 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
阅读(1710)
评论(0)
推荐(2)
NPOI.XWPF.UserModel.XWPFTableCell.SetText()方法不能传入NULL
摘要: 传了NULL空异常报错
阅读全文
posted @ 2021-05-29 22:36 _York
阅读(410)
评论(0)
推荐(0)
2021年5月27日
a标签不跳转
摘要: a[data-href] { pointer-events: none; }
阅读全文
posted @ 2021-05-27 20:39 _York
阅读(81)
评论(0)
推荐(0)
2021年5月12日
mvc 布局页引用布局页 写法
摘要: @{ Layout = "~/Views/Shared/_LayUILayout.cshtml"; } <section> @RenderBody() </section>
阅读全文
posted @ 2021-05-12 10:14 _York
阅读(87)
评论(0)
推荐(0)
2021年4月23日
OutLook发送邮件
摘要: public BaseResult Office365Send(string toEmail, string fromEmail, string subject, string body, bool isBodyHtml) { try { logger.Info("发送失败,用户:" + toEma
阅读全文
posted @ 2021-04-23 14:40 _York
阅读(168)
评论(0)
推荐(0)
2021年4月8日
PDF 根据模板生成PDF
摘要: /// <summary> /// 根据模板生成PDF /// </summary> /// <param name="templetPdf">PDF模板</param> /// <param name="newPdf">新生成的PDF</param> /// <param name="dict">
阅读全文
posted @ 2021-04-08 10:58 _York
阅读(157)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
25
下一页
公告