fyf 2 anni fa
parent
commit
ae699a04a0
1 ha cambiato i file con 19 aggiunte e 0 eliminazioni
  1. +19
    -0
      BPASmartClient.ScreenLib/Helper/Main.cs

+ 19
- 0
BPASmartClient.ScreenLib/Helper/Main.cs Vedi File

@@ -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>


Caricamento…
Annulla
Salva