WPF Enforce only ONE instance of application

后端 未结 5 598
温柔的废话
温柔的废话 2021-01-30 17:12

How do I allow only one instance of a WPF application to run?

Thanks.

5条回答
  •  不知归路
    2021-01-30 17:30

    Try this: Single instance application. Ive used the second method and it works fine.

提交回复
热议问题