上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 137 下一页
摘要: private void SaveTriangleAsPicture() { if (triangle == null) { MessageBox.Show("No triangle to save!"); return; } try { SaveFileDialog dialog = new Sa 阅读全文
posted @ 2025-09-27 21:06 FredGrit 阅读(22) 评论(0) 推荐(0)
摘要: private void DrawTriangleInCanvas() { try { triangle = new Polygon() { Stroke = Brushes.Black, StrokeThickness = 3, Fill = Brushes.Red }; double heigh 阅读全文
posted @ 2025-09-27 20:45 FredGrit 阅读(13) 评论(0) 推荐(0)
摘要: Install-Package Prism.DryIOC; Install-Package Prism.Wpf;Install-Package Microsoft.Xaml.Behaviors.WPF; //App.xaml <prism:PrismApplication x:Class="WpfA 阅读全文
posted @ 2025-09-27 18:53 FredGrit 阅读(30) 评论(0) 推荐(0)
摘要: //xaml <Window x:Class="WpfApp13.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2025-09-26 21:51 FredGrit 阅读(16) 评论(0) 推荐(0)
摘要: <Window x:Class="WpfApp11.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2025-09-26 17:33 FredGrit 阅读(25) 评论(0) 推荐(0)
摘要: Install-Package Prism.DryIOC; Install-Packag Prism.WPF; //App.xaml <prism:PrismApplication x:Class="WpfApp7.App" xmlns="http://schemas.microsoft.com/w 阅读全文
posted @ 2025-09-25 16:33 FredGrit 阅读(30) 评论(0) 推荐(0)
摘要: Install-Package Microsoft.Extensions.DependencyInjection; Totally speaking, VirtualizationPanel.CacheLengthUnit's value is item and its performance is 阅读全文
posted @ 2025-09-25 12:49 FredGrit 阅读(13) 评论(0) 推荐(0)
摘要: Install-Package Microsoft.Extensions.DependencyInjection; public async Task InitBooksCollection() { stopwatch.Start(); BooksCollection = new Observabl 阅读全文
posted @ 2025-09-24 21:09 FredGrit 阅读(41) 评论(0) 推荐(0)
摘要: Install-Package Prism.WPF; Install-Package Prism.DryIOC; //app.xaml <prism:PrismApplication x:Class="WpfApp4.App" xmlns="http://schemas.microsoft.com/ 阅读全文
posted @ 2025-09-24 18:41 FredGrit 阅读(17) 评论(0) 推荐(0)
摘要: 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)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 137 下一页