摘要:
private void ConvertImageToString() { byte[] bytesArr = File.ReadAllBytes(SelectedBk.ImgUrl); string imgBase64Str = Convert.ToBase64String(bytesArr); 阅读全文
摘要:
Copy from https://www.iditect.com/faq/csharp/wpf-webbrowser-control--how-to-suppress-script-errors.html#:~:text=To%20suppress%20these%20script%20error 阅读全文
摘要:
//xaml <Window x:Class="WpfApp206.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
摘要:
One possible cause is include chinese characters, //Wrong code private void OpenClick(object sender, RoutedEventArgs e) { OpenFileDialog dialog=new Op 阅读全文