mirror of
https://github.com/SlothDpal/Relaunch-Process.git
synced 2026-04-17 02:10:40 +03:00
Auto formatting
This commit is contained in:
2
Form1.cs
2
Form1.cs
@@ -319,10 +319,12 @@ namespace Process_Auto_Relaunch
|
|||||||
{
|
{
|
||||||
if (ProcessByNameIsRuning(path))
|
if (ProcessByNameIsRuning(path))
|
||||||
{
|
{
|
||||||
|
// Процесс уже запущен
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Процесс не запущен
|
||||||
WatchedProcess = Process.Start(path, args);
|
WatchedProcess = Process.Start(path, args);
|
||||||
cpuLastTime = 0;
|
cpuLastTime = 0;
|
||||||
cpuMeasureTimer.Start();
|
cpuMeasureTimer.Start();
|
||||||
|
|||||||
Reference in New Issue
Block a user