摘要:
mutex有一个名字,如果这个exe已经打开了,createNew返回的就是false,程序就退出了。 这是个wpf application的例子 protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); b 阅读全文
摘要:
mutex有一个名字,如果这个exe已经打开了,createNew返回的就是false,程序就退出了。 这是个wpf application的例子 protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); b 阅读全文
|