上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 137 下一页
摘要: //xaml <Window x:Class="WpfApp212.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
posted @ 2024-07-14 17:23 FredGrit 阅读(58) 评论(0) 推荐(0)
摘要: <Canvas Grid.Column="1" Background="Transparent" x:Name="cvs" ClipToBounds="True" MouseWheel="cvs_MouseWheel" MouseDown="cvs_MouseDown" MouseUp="cvs_M 阅读全文
posted @ 2024-07-13 21:44 FredGrit 阅读(43) 评论(0) 推荐(0)
摘要: //xaml <Window x:Class="WpfApp210.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
posted @ 2024-07-13 21:20 FredGrit 阅读(40) 评论(0) 推荐(0)
摘要: private void ConvertImageToString() { byte[] bytesArr = File.ReadAllBytes(SelectedBk.ImgUrl); string imgBase64Str = Convert.ToBase64String(bytesArr); 阅读全文
posted @ 2024-07-12 17:54 FredGrit 阅读(47) 评论(0) 推荐(0)
摘要: Copy from https://www.iditect.com/faq/csharp/wpf-webbrowser-control--how-to-suppress-script-errors.html#:~:text=To%20suppress%20these%20script%20error 阅读全文
posted @ 2024-07-12 12:16 FredGrit 阅读(42) 评论(0) 推荐(0)
摘要: //xaml <Window x:Class="WpfApp206.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
posted @ 2024-07-12 11:52 FredGrit 阅读(63) 评论(0) 推荐(0)
摘要: One possible cause is include chinese characters, //Wrong code private void OpenClick(object sender, RoutedEventArgs e) { OpenFileDialog dialog=new Op 阅读全文
posted @ 2024-07-12 11:50 FredGrit 阅读(56) 评论(0) 推荐(0)
摘要: <DataGrid ItemsSource="{Binding BooksList,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" SelectionMode="Extended"> <DataGrid.ContextMenu> <ContextM 阅读全文
posted @ 2024-07-11 10:39 FredGrit 阅读(64) 评论(0) 推荐(0)
摘要: public class DelCmd : ICommand { private readonly Action<Object> execute; private readonly Predicate<Object> canExecute; public DelCmd(Action<object> 阅读全文
posted @ 2024-07-10 20:24 FredGrit 阅读(47) 评论(0) 推荐(0)
摘要: //xaml <Window x:Class="WpfApp201.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
posted @ 2024-07-09 11:40 FredGrit 阅读(120) 评论(0) 推荐(0)
上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 137 下一页