摘要: <Window x:Class="WpfApp6.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/200 阅读全文
posted @ 2026-09-04 21:24 FredGrit 阅读(3) 评论(0) 推荐(0)
摘要: //WebAPI //D:\C\WebApplication2\BooksController.cs using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using WebApplication2.Models; name 阅读全文
posted @ 2026-09-04 20:34 FredGrit 阅读(3) 评论(0) 推荐(0)
摘要: <DataTemplate DataType="{x:Type local:Book}" x:Key="BookRowDataTemplate"> <Border BorderBrush="Gray" BorderThickness="2" Margin="5"> <Grid Margin="5"> 阅读全文
posted @ 2026-08-30 20:49 FredGrit 阅读(10) 评论(0) 推荐(0)
摘要: <DataTemplate DataType="{x:Type local:Book}" x:Key="BookRowDataTemplate"> <Border BorderBrush="Gray" BorderThickness="2" Margin="5"> <Grid Margin="5"> 阅读全文
posted @ 2026-08-30 20:37 FredGrit 阅读(5) 评论(0) 推荐(0)
摘要: Install-Package Microsoft.Xamls.Behavior.WPF public class ListBoxSyncScrollBehavior : Behavior<ListBox> { static Dictionary<string, ScrollViewer> scro 阅读全文
posted @ 2026-08-30 19:06 FredGrit 阅读(6) 评论(0) 推荐(0)
摘要: //WebAPI //D:\C\WebApplication1\WebApplication1\Book.cs namespace WebApplication1 { public class Book { public long Id { get; set; } public string Nam 阅读全文
posted @ 2026-08-30 15:55 FredGrit 阅读(6) 评论(0) 推荐(0)
摘要: <Window x:Class="WpfApp5.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/200 阅读全文
posted @ 2026-08-23 21:45 FredGrit 阅读(4) 评论(0) 推荐(0)
摘要: //WPF <Window x:Class="WpfApp4.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/win 阅读全文
posted @ 2026-08-23 21:05 FredGrit 阅读(5) 评论(0) 推荐(0)
摘要: <Window x:Class="WpfApp3.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/200 阅读全文
posted @ 2026-08-23 20:14 FredGrit 阅读(6) 评论(0) 推荐(0)
摘要: //D:\C\WpfApp2\WpfApp2\RotateWheel.cs using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Co 阅读全文
posted @ 2026-08-22 21:40 FredGrit 阅读(6) 评论(0) 推荐(0)