12 2024 档案

摘要:Add reference System.Speech using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Speech.Synthesis; using S 阅读全文
posted @ 2024-12-30 21:40 FredGrit 阅读(8) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System 阅读全文
posted @ 2024-12-30 20:12 FredGrit 阅读(5) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System 阅读全文
posted @ 2024-12-30 20:08 FredGrit 阅读(10) 评论(0) 推荐(0) 编辑
摘要://xaml <Window x:Class="WpfApp121.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
posted @ 2024-12-30 18:05 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp120.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2024-12-30 16:32 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp119.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2024-12-30 14:49 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要://xaml <Window x:Class="WpfApp119.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
posted @ 2024-12-30 14:45 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp119.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2024-12-30 14:36 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要://xaml <Window x:Class="WpfApp119.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
posted @ 2024-12-30 14:04 FredGrit 阅读(3) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp118.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2024-12-30 13:46 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要://xaml <Window x:Class="WpfApp117.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
posted @ 2024-12-30 13:26 FredGrit 阅读(3) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp116.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2024-12-30 12:39 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp115.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2024-12-30 12:25 FredGrit 阅读(1) 评论(0) 推荐(0) 编辑
摘要://xaml <Window x:Class="WpfApp114.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
posted @ 2024-12-30 11:51 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要://xaml <Window x:Class="WpfApp113.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
posted @ 2024-12-29 18:11 FredGrit 阅读(3) 评论(0) 推荐(0) 编辑
摘要://xaml <Window x:Class="WpfApp112.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
posted @ 2024-12-29 17:48 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp110.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2024-12-29 16:31 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要://xaml <Window x:Class="WpfApp109.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
posted @ 2024-12-29 16:18 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp108.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2024-12-29 15:19 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp107.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2024-12-28 21:05 FredGrit 阅读(3) 评论(0) 推荐(0) 编辑
摘要:Vector3DCollection Point3DCollection PointCollection Int32Collection LinearGradientBrush DiffuseMaterial RotateTransform3D AxisAngleRotation3D using S 阅读全文
posted @ 2024-12-28 18:28 FredGrit 阅读(5) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp102.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2024-12-28 17:49 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp99.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-12-27 23:10 FredGrit 阅读(3) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp100.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2024-12-27 22:28 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要:<StackPanel Margin="40"> <TextBox x:Name="tbx" Height="100" FontSize="30" TextWrapping="Wrap" Background="LightCyan"/> <Rectangle Height="{Binding Ele 阅读全文
posted @ 2024-12-24 22:04 FredGrit 阅读(8) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp98.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-12-24 21:52 FredGrit 阅读(6) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp94.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-12-24 14:54 FredGrit 阅读(7) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp92.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-12-22 21:49 FredGrit 阅读(6) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp91.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-12-22 21:43 FredGrit 阅读(5) 评论(0) 推荐(0) 编辑
摘要:using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Window 阅读全文
posted @ 2024-12-22 19:30 FredGrit 阅读(6) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System 阅读全文
posted @ 2024-12-20 18:07 FredGrit 阅读(10) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Ta 阅读全文
posted @ 2024-12-20 17:35 FredGrit 阅读(6) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp76.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-12-20 15:47 FredGrit 阅读(5) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp73.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-12-20 15:19 FredGrit 阅读(13) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp74.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-12-20 14:40 FredGrit 阅读(5) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp72.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-12-20 13:50 FredGrit 阅读(8) 评论(0) 推荐(0) 编辑
摘要:<Window.Icon> <DrawingImage> <DrawingImage.Drawing> <GeometryDrawing Brush="Orange"> <GeometryDrawing.Pen> <Pen Brush="Black" Thickness="10"/> </Geome 阅读全文
posted @ 2024-12-20 13:43 FredGrit 阅读(5) 评论(0) 推荐(0) 编辑
摘要://xaml <Window x:Class="WpfApp70.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2024-12-20 10:48 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要:Copy from https://github.com/SEilers/WpfPanAndZoom //canvas.xaml <Canvas x:Class="WpfApp69.CanvasZoomAndPanControl" xmlns="http://schemas.microsoft.co 阅读全文
posted @ 2024-12-17 23:59 FredGrit 阅读(36) 评论(0) 推荐(0) 编辑
摘要:1 //xaml 2 <Window x:Class="WpfApp67.MainWindow" 3 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 4 xmlns:x="http://schemas.microso 阅读全文
posted @ 2024-12-15 20:13 FredGrit 阅读(20) 评论(0) 推荐(0) 编辑
摘要://xaml <Window x:Class="WpfApp68.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2024-12-15 01:12 FredGrit 阅读(8) 评论(0) 推荐(0) 编辑
摘要://<Window x:Class="WpfApp64.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/ 阅读全文
posted @ 2024-12-14 00:32 FredGrit 阅读(8) 评论(0) 推荐(0) 编辑
摘要:Install-Package Newtonsoft.json static void ConvertXmlToJson(string xmlFile,string jsonFile) { try { if(File.Exists(xmlFile)) { using(FileStream fs=ne 阅读全文
posted @ 2024-12-14 00:02 FredGrit 阅读(9) 评论(0) 推荐(0) 编辑
摘要:using System.Diagnostics; using System.Xml; using System.Xml.Serialization; namespace ConsoleApp9 { internal class Program { static string xmlFile = " 阅读全文
posted @ 2024-12-13 23:35 FredGrit 阅读(17) 评论(0) 推荐(0) 编辑
摘要://xaml <Window x:Class="WpfApp62.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2024-12-13 00:46 FredGrit 阅读(13) 评论(0) 推荐(0) 编辑
摘要:1. Install-Package CsvExport 2. using Csv; using System.Runtime.InteropServices; namespace ConsoleApp8 { internal class Program { [DllImport("user32.d 阅读全文
posted @ 2024-12-12 23:26 FredGrit 阅读(10) 评论(0) 推荐(0) 编辑
摘要:using System.Runtime.InteropServices; namespace ConsoleApp6 { internal class Program { //copy from,https://gist.github.com/6rube/34b561827f0805f737425 阅读全文
posted @ 2024-12-12 22:41 FredGrit 阅读(23) 评论(0) 推荐(0) 编辑
摘要://xaml <Window x:Class="WpfApp58.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2024-12-10 00:49 FredGrit 阅读(15) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System 阅读全文
posted @ 2024-12-07 21:47 FredGrit 阅读(15) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp57.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-12-07 21:35 FredGrit 阅读(7) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp56.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-12-07 21:19 FredGrit 阅读(3) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System 阅读全文
posted @ 2024-12-07 19:06 FredGrit 阅读(5) 评论(0) 推荐(0) 编辑
摘要:public List<Visual> FindVisualChildren(DependencyObject dpObj) { List<Visual> childrenList = new List<Visual>(); int childrenCount = VisualTreeHelper. 阅读全文
posted @ 2024-12-07 15:58 FredGrit 阅读(12) 评论(0) 推荐(0) 编辑
摘要:public class DatagridMultiSelectBehavior : Behavior<DataGrid> { protected override void OnAttached() { base.OnAttached(); } protected override void On 阅读全文
posted @ 2024-12-04 23:44 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示