|
|
@@ -50,7 +50,7 @@ namespace UAS_AutoUpdate
|
|
|
Process[] pro = Process.GetProcessesByName("UAS_MES");
|
|
|
if (pro.Length > 0)
|
|
|
{
|
|
|
- string CloseProcess = MessageBox.Show(this.ParentForm, "当前程序仍在运行,是否关闭", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question).ToString();
|
|
|
+ string CloseProcess = MessageBox.Show(this.ParentForm, "检测到程序仍在运行,是否关闭", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question).ToString();
|
|
|
if (CloseProcess == "Yes")
|
|
|
{
|
|
|
for (int i = 0; i < pro.Length; i++)
|
|
|
@@ -60,6 +60,7 @@ namespace UAS_AutoUpdate
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
+ Close();
|
|
|
return;
|
|
|
}
|
|
|
}
|