上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 136 下一页
摘要: Install-Package Microsoft.Xaml.Behaviors.WPF public class GridBehavior : Behavior<Grid> { private ContextMenu contextMenu; private MenuItem saveItem; 阅读全文
posted @ 2026-04-21 20:53 FredGrit 阅读(23) 评论(0) 推荐(0)
摘要: 1.C++ Dll project //D:\C\CPPServiceDll\CPPServiceDll\BookNativeLib.h #pragma once #include <string> #include <vector> #include <chrono> struct Book { 阅读全文
posted @ 2026-04-14 00:47 FredGrit 阅读(15) 评论(0) 推荐(0)
摘要: Install-Package Microsoft.Xaml.Behaviors.Wpf public class GridBehavior : Behavior<Grid> { private ContextMenu contextMenu; public GridBehavior() { con 阅读全文
posted @ 2026-04-11 20:46 FredGrit 阅读(14) 评论(0) 推荐(0)
摘要: Install-Package System.Management private string GetGPUMem() { StringBuilder builder = new StringBuilder(); ManagementObjectSearcher searcher = new Ma 阅读全文
posted @ 2026-04-08 21:15 FredGrit 阅读(14) 评论(0) 推荐(0)
摘要: <ItemsControl ItemsSource="{Binding BooksCollection}"> <ItemsControl.Template> <ControlTemplate TargetType="ItemsControl"> <DockPanel LastChildFill="T 阅读全文
posted @ 2026-04-07 21:21 FredGrit 阅读(19) 评论(0) 推荐(0)
摘要: public class DataGridRightClickBehavior : Behavior<DataGrid> { public ICommand SaveSelectedCommand { get { return (ICommand)GetValue(SaveSelectedComma 阅读全文
posted @ 2026-04-05 21:16 FredGrit 阅读(28) 评论(0) 推荐(0)
摘要: Install-Package Serilog Install-Package Serilog.Sinks.Console Install-Package Serilog.Sinks.File using Serilog; namespace ConsoleApp13 { internal clas 阅读全文
posted @ 2026-03-30 23:18 FredGrit 阅读(15) 评论(0) 推荐(0)
摘要: Install-Package serilog.aspnetcore using Serilog; namespace ConsoleApp12 { internal class Program { static int idx = 0; static void Main(string[] args 阅读全文
posted @ 2026-03-30 22:52 FredGrit 阅读(18) 评论(0) 推荐(0)
摘要: //Top 100 PS D:\C\ConsoleApp11\ConsoleApp11\bin\Debug\net10.0> Get-Content Json_202603292232039734.json -TotalCount 100 //Last 100 PS D:\C\ConsoleApp1 阅读全文
posted @ 2026-03-29 23:00 FredGrit 阅读(13) 评论(0) 推荐(0)
摘要: Install-Package MessagePack Install-Package Newtonsoft.json using MessagePack; using Newtonsoft.Json; using System.CodeDom.Compiler; using System.Coll 阅读全文
posted @ 2026-03-29 22:55 FredGrit 阅读(14) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 136 下一页