C#FORM只允许启动一个进程

SingleInstance类

Code


主工程中:

Program
原文地址:https://www.cnblogs.com/xinyuxin912/p/1331288.html