摘要: 1.原因 加载的时候没有调取 AssemblyLoadContext.Default 2.解决方案: 在程序启动的时候,手动调用 /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class 阅读全文
posted @ 2020-07-22 11:11 天命小猪 阅读(370) 评论(0) 推荐(0)
摘要: emmmmm,最近在研究WFDB工具箱,C语言写的,无奈本人C语言功底不够,只想直接拿来用,于是打算通过ProcessStartInfo来调取编译出来的exe程序获取输出。 一开始就打算偷懒,从园子里的前辈blog上偷来部分代码,和着自己写的代码差不多就写了以下调取程序的代码: 然后使用时发现了问题 阅读全文
posted @ 2019-02-19 16:59 天命小猪 阅读(5768) 评论(0) 推荐(0)
摘要: 解决WPF Viewport3D透视模式时窗体模糊。 阅读全文
posted @ 2016-03-07 16:09 天命小猪 阅读(6023) 评论(3) 推荐(2)
摘要: WPF判断当前窗体是否为模态1、使用System.Windows.Interop.ComponentDispatcher.IsThreadModal来判断参照:https://social.msdn.microsoft.com/Forums/vstudio/en-US/c95f1acb-5dee-4... 阅读全文
posted @ 2015-06-02 17:33 天命小猪 阅读(994) 评论(0) 推荐(1)