From 607d1645af534bb7f4c066ba67a2c4205bc16856 Mon Sep 17 00:00:00 2001 From: ZGGSONG Date: Sun, 22 May 2022 14:39:38 +0800 Subject: [PATCH] update output --- ScadaTool/ViewModel/MainViewModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ScadaTool/ViewModel/MainViewModel.cs b/ScadaTool/ViewModel/MainViewModel.cs index ef804b5..f090d72 100644 --- a/ScadaTool/ViewModel/MainViewModel.cs +++ b/ScadaTool/ViewModel/MainViewModel.cs @@ -72,14 +72,14 @@ namespace ScadaTool.ViewModel string result = GoCSharpHelper.Instance().GoStringToCSharpString(run()); if (result.Equals("success")) { - MessageBox.Show("服务启动\n" + result); + MessageBox.Show(result); icoPath = "Resources/icon.ico"; isTrue = false; timer.Dispose(); } else { - MessageBox.Show("服务启动失败\n" + result); + MessageBox.Show(result); } }); #endregion