上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 120 下一页
摘要: 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 阅读(21) 评论(0) 推荐(0)
摘要: <DataGrid ItemsSource="{Binding BooksList,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" SelectionMode="Extended"> <DataGrid.ContextMenu> <ContextM 阅读全文
posted @ 2024-07-11 10:39 FredGrit 阅读(31) 评论(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 阅读(25) 评论(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 阅读(81) 评论(0) 推荐(0)
摘要: //xaml <behavior:Interaction.Triggers> <behavior:EventTrigger EventName="MouseWheel" SourceObject="{Binding ElementName=img}"> <behavior:InvokeCommand 阅读全文
posted @ 2024-07-07 19:43 FredGrit 阅读(30) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Diagnostics.Eventing.Reader; using System. 阅读全文
posted @ 2024-07-07 16:06 FredGrit 阅读(8) 评论(0) 推荐(0)
摘要: //xaml <Image Grid.Column="1" ClipToBounds="True" Source="{Binding SelectedItem.ImgUrl,ElementName=lbx}"> <Image.ContextMenu> <ContextMenu> <MenuItem 阅读全文
posted @ 2024-07-06 20:29 FredGrit 阅读(13) 评论(0) 推荐(0)
摘要: //xaml <behavior:Interaction.Triggers> <behavior:EventTrigger EventName="KeyDown"> <behavior:CallMethodAction TargetObject="{Binding}" MethodName="Win 阅读全文
posted @ 2024-07-06 18:10 FredGrit 阅读(18) 评论(0) 推荐(0)
摘要: Copy from https://blog.csdn.net/jacke121/article/details/87705301?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~ 阅读全文
posted @ 2024-07-05 16:11 FredGrit 阅读(18) 评论(0) 推荐(0)
摘要: System.Runtime.InteropServices.COMException HResult=0x88980406 Message=UCEERR_RENDERTHREADFAILURE (Exception from HRESULT: 0x88980406) Source=Presenta 阅读全文
posted @ 2024-07-04 21:57 FredGrit 阅读(437) 评论(0) 推荐(0)
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 120 下一页