1 2 3 4 5 ··· 76 下一页
摘要: private void InitRenderTransfrom() { TransformGroup tg = new TransformGroup(); ScaleTransform st = new ScaleTransform(); if (!tg.Children.Contains(st) 阅读全文
posted @ 2024-08-02 19:54 FredGrit 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <ListBox x:Name="lbx" Grid.Row="1" Grid.Column="0" ItemsSource="{Binding ImgsList,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" SelectionChanged=" 阅读全文
posted @ 2024-07-28 20:53 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Managed Debugging Assistant 'FatalExecutionEngineError' Message=Managed Debugging Assistant 'FatalExecutionEngineError' : 'The runtime has encountered 阅读全文
posted @ 2024-07-26 21:34 FredGrit 阅读(3) 评论(0) 推荐(0) 编辑
摘要: //Key code //xaml <DataGridTemplateColumn Header="Select"> <DataGridTemplateColumn.CellTemplate> <DataTemplate> <CheckBox x:Name="isSelectedCbx" IsThr 阅读全文
posted @ 2024-07-26 21:33 FredGrit 阅读(5) 评论(0) 推荐(0) 编辑
摘要: //xaml <Window x:Class="WpfApp224.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
posted @ 2024-07-25 19:38 FredGrit 阅读(1) 评论(0) 推荐(0) 编辑
摘要: public int ImgIdx { get { return imgIdx; } set { if(value!=imgIdx) { imgIdx = value; if(imgIdx<0) { imgIdx = imgsCount - 1; } if(imgIdx>=imgsCount) { 阅读全文
posted @ 2024-07-18 20:27 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要: //xaml <Grid> <Grid.ColumnDefinitions> <ColumnDefinition/> <ColumnDefinition/> <ColumnDefinition/> </Grid.ColumnDefinitions> <ListBox Grid.Column="0" 阅读全文
posted @ 2024-07-18 19:32 FredGrit 阅读(3) 评论(0) 推荐(0) 编辑
摘要: private void SerializeDemo() { var obj = new[] { new { CountryId=1, CountryName="USA", StateList= new [] { new[] { new { StateId=1, StateName="NY", Ci 阅读全文
posted @ 2024-07-18 18:14 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要: //xaml <Window x:Class="WpfApp216.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
posted @ 2024-07-16 20:48 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要: <ListBox Grid.Row="1" Grid.Column="0" ItemsSource="{Binding CountryList}" x:Name="countryLbx" DisplayMemberPath="CountryName"/> <TextBlock Text="State 阅读全文
posted @ 2024-07-16 11:33 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 76 下一页