Loading

摘要: 这篇文档仅作为markdown在cnblogs中的渲染效果展示。第一部分NLNet' Samples为自定义内容的效果展示。NOTE 第二、三部分的Markdown Reference(From Typora)和Example(From OneDark Theme for Typora)内容非原创, 阅读全文
posted @ 2021-02-06 16:13 NLNet 阅读(350) 评论(4) 推荐(2) 编辑
摘要: WebView2 Flickering Problems I have some WebView2 in TabControls in WPF. It gets flickering when I open new tab, close tab or swtich tabs. The detaile 阅读全文
posted @ 2022-05-13 15:49 NLNet 阅读(446) 评论(0) 推荐(1) 编辑
摘要: 1. [WPF] 代码构建 ItemsPanel var itemsPanelTemplate = new ItemsPanelTemplate(); var factory = new FrameworkElementFactory(typeof(AnimatingStackPanel)); fa 阅读全文
posted @ 2021-10-20 23:29 NLNet 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 背景 我的项目(以下称为LibA)中有一个多目标框架编译的项目,即项目文件包含如下代码: <PropertyGroup> ... <TargetFrameworks>netcoreapp3.1;net461</TargetFrameworks> ... </PropertyGroup> 问题 我的一 阅读全文
posted @ 2021-04-26 17:33 NLNet 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 近期笔记本出现了剪切、新建、粘贴、重命名等操作,文件夹视图不会自动刷新的问题。手动F5会刷新。 根据网上提供的办法我的情况得到解决。 修改注册表 注册表路径:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Update的UpdateMode,值 阅读全文
posted @ 2021-02-08 09:29 NLNet 阅读(741) 评论(0) 推荐(0) 编辑
摘要: 使用元素 我的博客NLNet 并未搭建自己的博客,使用博客园(cnblogs),自定义了主题NLNet-Theme。 写作工具Typora 优秀的Markdown编辑器。参考NLNet-Theme,我会不定期持续更新自定义的Typora的主题nlnet。 网络图床Github 考虑到图床的长久稳定性 阅读全文
posted @ 2021-02-07 22:17 NLNet 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 一、如何构建Win32程序 打开csproj文件,使用如下代码添加引用(Reference)。注意,如果指定位置不存在,请查找正确的位置后添加引用,目前已知安装VS如果不是默认C盘,会出现类似报错。 <Reference Include="Windows"> <HintPath>$(SystemDr 阅读全文
posted @ 2021-02-03 18:04 NLNet 阅读(261) 评论(0) 推荐(0) 编辑
摘要: Typora Themes自定义 Typora 支持css样式,自定义主题十分方便,修改自己的css文件,再放入其themes文件夹,重启Typora,即可看到自定义主题。 Typora 官网,自定义样式 基本规则,自定义样式辅助工具 DevTools, 测试用的 Markdown-Referenc 阅读全文
posted @ 2021-02-02 12:10 NLNet 阅读(155) 评论(0) 推荐(1) 编辑
摘要: 异常问题总结 Your project file doesn't list 'win10' as a "RuntimeIdentifier". You should add 'win10' to the "RuntimeIdentifiers" property in your project fi 阅读全文
posted @ 2021-02-01 17:15 NLNet 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 简单研究了一下.Net下的PDF打印,一路发现了很多小坑。 第三方组件 这里使用的解析PDF的组件是mupdf,特点和C#调用在 这里 有介绍。 实现的功能 支持页面大小、边距、打印机选择、打印机dpi、打印范围、单双面、奇偶页、缩放、对齐、填充、打印份数、自动旋转等。 关于pt、px、dpi、in 阅读全文
posted @ 2021-01-29 18:30 NLNet 阅读(634) 评论(0) 推荐(0) 编辑