12 2024 档案
摘要:Add reference System.Speech using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Speech.Synthesis; using S
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System
阅读全文
摘要://xaml <Window x:Class="WpfApp121.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
摘要:<Window x:Class="WpfApp120.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
摘要:<Window x:Class="WpfApp119.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
摘要://xaml <Window x:Class="WpfApp119.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
WPF BeginStoryboard Storyboard DoubleAnimation TargetProperty SplineDoubleKeyFrame KeySpline KeyTime
摘要:<Window x:Class="WpfApp119.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
摘要://xaml <Window x:Class="WpfApp119.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
摘要:<Window x:Class="WpfApp118.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
摘要://xaml <Window x:Class="WpfApp117.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
摘要:<Window x:Class="WpfApp116.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
摘要:<Window x:Class="WpfApp115.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
摘要://xaml <Window x:Class="WpfApp114.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
摘要://xaml <Window x:Class="WpfApp113.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
摘要://xaml <Window x:Class="WpfApp112.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
摘要:<Window x:Class="WpfApp110.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
摘要://xaml <Window x:Class="WpfApp109.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
摘要:<Window x:Class="WpfApp108.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
摘要:<Window x:Class="WpfApp107.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
摘要:Vector3DCollection Point3DCollection PointCollection Int32Collection LinearGradientBrush DiffuseMaterial RotateTransform3D AxisAngleRotation3D using S
阅读全文
摘要:<Window x:Class="WpfApp102.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
摘要:<Window x:Class="WpfApp99.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20
阅读全文
摘要:<Window x:Class="WpfApp100.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
摘要:<StackPanel Margin="40"> <TextBox x:Name="tbx" Height="100" FontSize="30" TextWrapping="Wrap" Background="LightCyan"/> <Rectangle Height="{Binding Ele
阅读全文
摘要:<Window x:Class="WpfApp98.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20
阅读全文
摘要:<Window x:Class="WpfApp94.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20
阅读全文
摘要:<Window x:Class="WpfApp92.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20
阅读全文
摘要:<Window x:Class="WpfApp91.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20
阅读全文
摘要:using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Window
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System
阅读全文
摘要:using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Ta
阅读全文
摘要:<Window x:Class="WpfApp76.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20
阅读全文
摘要:<Window x:Class="WpfApp73.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20
阅读全文
摘要:<Window x:Class="WpfApp74.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20
阅读全文
摘要:<Window x:Class="WpfApp72.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20
阅读全文
摘要:<Window.Icon> <DrawingImage> <DrawingImage.Drawing> <GeometryDrawing Brush="Orange"> <GeometryDrawing.Pen> <Pen Brush="Black" Thickness="10"/> </Geome
阅读全文
摘要://xaml <Window x:Class="WpfApp70.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w
阅读全文
摘要:Copy from https://github.com/SEilers/WpfPanAndZoom //canvas.xaml <Canvas x:Class="WpfApp69.CanvasZoomAndPanControl" xmlns="http://schemas.microsoft.co
阅读全文
摘要:1 //xaml 2 <Window x:Class="WpfApp67.MainWindow" 3 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 4 xmlns:x="http://schemas.microso
阅读全文
摘要://xaml <Window x:Class="WpfApp68.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w
阅读全文
摘要://<Window x:Class="WpfApp64.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/
阅读全文
摘要:Install-Package Newtonsoft.json static void ConvertXmlToJson(string xmlFile,string jsonFile) { try { if(File.Exists(xmlFile)) { using(FileStream fs=ne
阅读全文
摘要:using System.Diagnostics; using System.Xml; using System.Xml.Serialization; namespace ConsoleApp9 { internal class Program { static string xmlFile = "
阅读全文
摘要://xaml <Window x:Class="WpfApp62.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w
阅读全文
摘要:1. Install-Package CsvExport 2. using Csv; using System.Runtime.InteropServices; namespace ConsoleApp8 { internal class Program { [DllImport("user32.d
阅读全文
摘要:using System.Runtime.InteropServices; namespace ConsoleApp6 { internal class Program { //copy from,https://gist.github.com/6rube/34b561827f0805f737425
阅读全文
摘要://xaml <Window x:Class="WpfApp58.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System
阅读全文
摘要:<Window x:Class="WpfApp57.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20
阅读全文
摘要:<Window x:Class="WpfApp56.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System
阅读全文
摘要:public List<Visual> FindVisualChildren(DependencyObject dpObj) { List<Visual> childrenList = new List<Visual>(); int childrenCount = VisualTreeHelper.
阅读全文
摘要:public class DatagridMultiSelectBehavior : Behavior<DataGrid> { protected override void OnAttached() { base.OnAttached(); } protected override void On
阅读全文