摘要: MainWindow前端代码 <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsof 阅读全文
posted @ 2022-04-18 11:15 hack747 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 直接放代码吧 用户控件前端代码 <UserControl x:Class="WpfApp5.QCUserImage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.m 阅读全文
posted @ 2022-04-18 09:25 hack747 阅读(230) 评论(0) 推荐(0) 编辑
摘要: ShowInTaskbar="False" WindowState="Minimized" Visibility="Hidden" 一段代码就行了 加到哪看下面 <Window x:Class="Binding.MainWindow" xmlns="http://schemas.microsoft. 阅读全文
posted @ 2022-04-17 16:45 hack747 阅读(1309) 评论(1) 推荐(0) 编辑
摘要: ;安装程序完成后后台运行 Function .onInstSuccess ExecShell "" "$INSTDIR\${PRODUCT_NAME}.exe" FunctionEnd 注意onInstSuccess是关键。 阅读全文
posted @ 2022-04-14 10:19 hack747 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 1. XAML 格式化主要的难题是下面几个:如果所有属性都写在同一行,它太宽了很难看到后面的属性如果每个属性单独一行,它又太长了很难看清楚它的结构属性之间没有排序,重要属性的属性找起来很困难团队没有统一的标准,不小心格式化一下代码的话全部都会变,CodeReview 烦死个人如果不想得过且过忍受上述 阅读全文
posted @ 2022-04-13 18:56 hack747 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 为你的页面支持加密访问无论什么程序只要是PHP程序都是支持这代码的,来实现加密访问你的加密页面或文章等等的页面,不保证其他程序可以正常使用麻烦先测试! 密码正确才能进去页面,进入后会存下cookies值,下一次登录的时候则不需要再次输入了; 如果不想给人看了,只需要更改密码,cookies就会立即失 阅读全文
posted @ 2022-04-12 13:09 hack747 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 我今天遇到了一个问题 app.g.cs文件里面的引用 修改了 自动恢复了 但是nuget包已经被我删了 不废话了 直接说解决办法 后来我发现 在App.xaml中有这样一行代码 两个都删掉 就可以运行了 阅读全文
posted @ 2022-04-12 10:20 hack747 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 注释: 先CTRL+K+C 取消注释: 先CTRL+K+U 阅读全文
posted @ 2022-04-10 10:57 hack747 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 作者:George Dong链接:https://www.zhihu.com/question/46597396/answer/143753059来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 摸索出了一个新的方法,跟上面原理差不多,不过更简单! Step 1:在需要 阅读全文
posted @ 2022-03-23 10:29 hack747 阅读(1257) 评论(0) 推荐(0) 编辑
摘要: 转载自挑战者V 针对sudo apt-get install命令安装的nginx(默认会有/etc/nginx/conf.d) sudo apt-get install nginx 生成密码 printf "your_username:$(openssl passwd -crypt your_pas 阅读全文
posted @ 2021-05-14 17:06 hack747 阅读(197) 评论(0) 推荐(1) 编辑