上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 137 下一页
摘要: <DataGrid.Columns> <DataGridTextColumn Binding="{Binding Id}" Header="Id"/> <DataGridTextColumn Binding="{Binding Name}" Header="Name"/> <DataGridText 阅读全文
posted @ 2025-05-31 19:37 FredGrit 阅读(45) 评论(0) 推荐(0)
摘要: //main.xaml <Window x:Class="WpfApp235.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft 阅读全文
posted @ 2025-05-28 00:58 FredGrit 阅读(40) 评论(0) 推荐(0)
摘要: private void ExportSelectedCmdExecuted(object? obj) { //SelectedItemCollection var selectedBooksList = ((System.Collections.IList)obj).Cast<Book>()?.T 阅读全文
posted @ 2025-05-27 00:42 FredGrit 阅读(56) 评论(0) 推荐(0)
摘要: Install-Package Newtonsoft.Json -Version 9.0.1; Install-Package System.Data.Sqlite; Install-Package SqlSugar; using System.Data.SqlTypes; using System 阅读全文
posted @ 2025-05-24 17:39 FredGrit 阅读(120) 评论(0) 推荐(0)
摘要: install-package microsoft.extensions.dependencyinjection; using System.Diagnostics; using System.Runtime.CompilerServices; using Microsoft.Extensions. 阅读全文
posted @ 2025-05-23 15:53 FredGrit 阅读(17) 评论(0) 推荐(0)
摘要: <Window x:Class="WpfApp23.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2025-05-23 15:11 FredGrit 阅读(35) 评论(0) 推荐(0)
摘要: //1.in order to use System.Windows.MessageBox,update the csproj file as below <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net8. 阅读全文
posted @ 2025-05-22 18:59 FredGrit 阅读(84) 评论(0) 推荐(0)
摘要: //Mainwindow.xaml <Window x:Class="WpfApp15.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.micr 阅读全文
posted @ 2025-05-18 17:04 FredGrit 阅读(7) 评论(0) 推荐(0)
摘要: //mainwindow.xaml <Window x:Class="WpfApp233.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.mic 阅读全文
posted @ 2025-05-18 00:30 FredGrit 阅读(30) 评论(0) 推荐(0)
摘要: <Window x:Class="WpfApp19.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2025-05-17 21:24 FredGrit 阅读(25) 评论(0) 推荐(0)
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 137 下一页