上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 137 下一页
摘要: Install-Package Prism.Wpf; Install-Package Prism.DryIOC; //app.xaml <prism:PrismApplication x:Class="WpfApp38.App" xmlns="http://schemas.microsoft.com 阅读全文
posted @ 2025-09-23 17:08 FredGrit 阅读(22) 评论(0) 推荐(0)
摘要: Install-Package Prism.WPF; Install-Package Prism.DryIOC; //App.xaml <prism:PrismApplication x:Class="WpfApp37.App" xmlns="http://schemas.microsoft.com 阅读全文
posted @ 2025-09-23 14:08 FredGrit 阅读(21) 评论(0) 推荐(0)
摘要: <Window x:Class="WpfApp32.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2025-09-22 15:59 FredGrit 阅读(14) 评论(0) 推荐(0)
摘要: Install-Package Microsoft.Extensions.DependencyInjection; Install-Package CommunityToolkit.mvvm; public async Task InitDataAsync() { watch.Start(); st 阅读全文
posted @ 2025-09-22 13:16 FredGrit 阅读(13) 评论(0) 推荐(0)
摘要: private Window? GetWindow() { foreach (Window win in Application.Current.Windows) { if (win.DataContext==this) { return win; } } return null; } Instal 阅读全文
posted @ 2025-09-19 20:06 FredGrit 阅读(20) 评论(0) 推荐(0)
摘要: <Button Content="Custom Button" Background="Gold" FontSize="30" Grid.Column="0" BorderBrush="Green" BorderThickness="5"> <Button.Template> <ControlTem 阅读全文
posted @ 2025-09-19 10:16 FredGrit 阅读(22) 评论(0) 推荐(0)
摘要: Install-Package Microsoft.Extensions.DependencyInjection; Install-Package CommunityToolkit.mvvm; //app.xaml <Application x:Class="WpfApp21.App" xmlns= 阅读全文
posted @ 2025-09-18 19:06 FredGrit 阅读(17) 评论(0) 推荐(0)
摘要: Install-Package Microsoft.Extensions.DependencyInjection; Install-Package CommunityToolkit.mvvm; using CommunityToolkit.Mvvm.ComponentModel; using Sys 阅读全文
posted @ 2025-09-18 14:31 FredGrit 阅读(16) 评论(0) 推荐(0)
摘要: Install-Package Microsoft.Extensions.DependencyInjection; Install-Package CommunityToolkit.MVVM; Install-Package Microsoft.Xaml.Behaviors.WPF; using C 阅读全文
posted @ 2025-09-18 11:24 FredGrit 阅读(20) 评论(0) 推荐(0)
摘要: SaveAsPicturesCommand=new DelCommand(async(obj)=>await SaveAsPicturesCommandExecuted(obj)); private async Task SaveAsPicturesCommandExecuted(object? o 阅读全文
posted @ 2025-09-17 16:41 FredGrit 阅读(9) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 137 下一页