public bool CheckOverlapStart()
{
try
{
if (Process.GetProcessesByName(Process.GetCurrentProcess().ProcessName).Length>1)
{
return true;
}
else
{
return false;
}
}
catch (Exception)
{
return false;
}
}
判断二重启动
最新推荐文章于 2024-06-11 16:37:00 发布