摘要: 有的WPF开发的程序要限制只能打开一个实例。打开App.xaml.cs,加入如下代码: public partial class App : Application { System.Threading.Mutex mutex; public App() { this.Startup += new 阅读全文
posted @ 2023-05-12 16:48 Rolay 阅读(309) 评论(0) 推荐(0) 编辑