上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 120 下一页
摘要: private void ButtonCommandBinding() { Button btn = new Button(); btn.Width = 500; btn.Height = 300; btn.Content = "Show Info"; btn.Background = new So 阅读全文
posted @ 2024-08-25 18:29 FredGrit 阅读(26) 评论(0) 推荐(0)
摘要: Copy from https://www.c-sharpcorner.com/blogs/wpf-logical-and-visual-trees1 WPF's hierarchical structure requires a new conceptual model of applicatio 阅读全文
posted @ 2024-08-25 17:55 FredGrit 阅读(21) 评论(0) 推荐(0)
摘要: Freezable—The base class for objects that can be “frozen” into a read-only state for performance reasons. Freezables, once frozen, can be safely share 阅读全文
posted @ 2024-08-25 17:16 FredGrit 阅读(25) 评论(0) 推荐(0)
摘要: //The xaml material named MainWin.xaml <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com 阅读全文
posted @ 2024-08-23 20:39 FredGrit 阅读(26) 评论(0) 推荐(0)
摘要: System.Windows.Markup.XamlParseException HResult=0x80131501 Message='Specified class name 'WpfApp268.MainWindow' doesn't match actual root instance ty 阅读全文
posted @ 2024-08-23 20:22 FredGrit 阅读(139) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading; using Syste 阅读全文
posted @ 2024-08-22 20:54 FredGrit 阅读(12) 评论(0) 推荐(0)
摘要: //xaml <UserControl x:Class="WpfApp263.ELpTbk" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com 阅读全文
posted @ 2024-08-22 17:32 FredGrit 阅读(13) 评论(0) 推荐(0)
摘要: public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); var vm = new MainVM(this); this.DataContext = vm; } } public c 阅读全文
posted @ 2024-08-22 16:42 FredGrit 阅读(39) 评论(0) 推荐(0)
摘要: if(System.IO.File.Exists(imgPath)) { System.Diagnostics.Process.Start(imgPath); } //xaml <Window x:Class="WpfApp261.MainWindow" xmlns="http://schemas. 阅读全文
posted @ 2024-08-21 20:18 FredGrit 阅读(13) 评论(0) 推荐(0)
摘要: Install-Package ExcelDataReader using ExcelDataReader; using System.Text; using System.IO; namespace ConsoleApp50 { internal class Program { static vo 阅读全文
posted @ 2024-08-20 20:40 FredGrit 阅读(16) 评论(0) 推荐(0)
上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 120 下一页