摘要: 参考代码如下: protected static void OnlyOneApp() { string appName = typeof(App).Namespace; _ = new Mutex(true, appName, out bool createNew); if (!createNew) 阅读全文
posted @ 2023-06-09 17:33 盛沧海 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 开发环境:VS2022社区版 使用项目:WINUI 相关项目 下述为CommonMessage: 1 public class CommonMessage<T1, T2, T3> 2 { 3 4 public string message; 5 public T1 param1; 6 public 阅读全文
posted @ 2023-06-09 16:59 盛沧海 阅读(192) 评论(0) 推荐(0) 编辑