Commit 33b92579 authored by 段廷瑞's avatar 段廷瑞

1、帮助提示方法优化

parent 5aae82d4
...@@ -359,10 +359,7 @@ namespace Tools.MyUtils ...@@ -359,10 +359,7 @@ namespace Tools.MyUtils
var helpFileName = $@"{Utils.ConfigPath}\help\{txtFileName}.txt"; var helpFileName = $@"{Utils.ConfigPath}\help\{txtFileName}.txt";
if (File.Exists(helpFileName)) if (File.Exists(helpFileName))
{ {
using (var sr = new StreamReader(helpFileName)) Utils.Tip(File.ReadAllText(helpFileName), 700, 400);
{
Utils.Tip(sr.ReadToEnd(), 700, 400);
}
} }
} }
/// <summary> /// <summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment