ソースを参照

11

样式分支
fyf 1年前
コミット
ae699a04a0
1個のファイルの変更19行の追加0行の削除
  1. +19
    -0
      BPASmartClient.ScreenLib/Helper/Main.cs

+ 19
- 0
BPASmartClient.ScreenLib/Helper/Main.cs ファイルの表示

@@ -259,6 +259,25 @@ namespace BPASmartClient.ScreenLib
{
}
}
else
{
string text = System.IO.File.ReadAllText(name);
if (text.Replace("\r\n", "") != html)
{
try
{
using (StreamWriter sw = new StreamWriter(name, false, System.Text.Encoding.GetEncoding("UTF-8"))) //保存地址
{
sw.WriteLine(html);
sw.Flush();
sw.Close();
}
}
catch
{
}
}
}
view2.Source = new Uri(name);
}
/// <summary>


読み込み中…
キャンセル
保存