上一页 1 2 3 4 5 6 ··· 42 下一页
摘要: using Microsoft.Win32; using System; using System.Reflection; namespace Boaway.Platform.DataCollection.Client.Helper { public static class AutoStartHe 阅读全文
posted @ 2024-11-13 16:18 Hey,Coder! 阅读(20) 评论(0) 推荐(0) 编辑
摘要: public static class ShortCutHelper { public static string linkTilte = Assembly.GetExecutingAssembly().GetName().Name; public static string lnkFullPath 阅读全文
posted @ 2024-11-13 16:07 Hey,Coder! 阅读(6) 评论(0) 推荐(0) 编辑
摘要: private static void InjectResourcePath(WebApplication app, string path, string requestPath) { var provider = new FileExtensionContentTypeProvider(); p 阅读全文
posted @ 2024-11-11 18:34 Hey,Coder! 阅读(10) 评论(0) 推荐(0) 编辑
摘要: public class MessageEx { /// <summary> /// 定义数据暂存 /// </summary> private static readonly Dictionary<string, List<Action<object>>> _handlers = new(); / 阅读全文
posted @ 2024-11-05 13:59 Hey,Coder! 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 备注 核心原理是通过winlogin程序获取其访问令牌随后通过CreateProcessAsUser绕过UAC 普通程序直接启动即可,注意程序运行的当前目录,如果不好改源码可以通过cmd切换目录再执行。 部分情况下可以通过配置服务的登录属性打开允许服务与桌面交互即可,特殊情况下再使用本文的方法。 使 阅读全文
posted @ 2024-10-24 11:58 Hey,Coder! 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 避免使用WindowChrome.WindowChrome 可能会导致窗口全屏时无法完全遮挡底部窗口 避免使用窗口透明,可能会导致webview、视频组件无法显示 注意检测https证书问题,可以查看win7根证书问题相关解决方法 阅读全文
posted @ 2024-10-23 23:08 Hey,Coder! 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 新增一个自定义控件继承ComboBox,同事在输入事件之前打开下拉框 public partial class ComboBoxEx : ComboBox { public ComboBoxEx() { } private int caretPosition; public override voi 阅读全文
posted @ 2024-10-15 18:53 Hey,Coder! 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 安装证书即可, https://www.microsoft.com/pkiops/Docs/Repository.htm 阅读全文
posted @ 2024-10-14 22:48 Hey,Coder! 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 需要根据实际需求在按钮的对应事件或者Command中添加逻辑 <Style TargetType="ComboBox" x:Key="DeleteComboBoxStyle"> <Setter Property="ItemContainerStyle"> <Setter.Value> <!--Com 阅读全文
posted @ 2024-10-12 17:59 Hey,Coder! 阅读(23) 评论(0) 推荐(0) 编辑
摘要: viewmodel中定义原始数据及筛选后的数据,筛选后的数据类型为ICollectionView //原始数据列表 public ObservableCollection<SchoolOutDto> SchoolList { get; set; } /// <summary> /// 筛选数据后的列 阅读全文
posted @ 2024-10-01 20:36 Hey,Coder! 阅读(55) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 42 下一页