上一页 1 2 3 4 5 6 7 8 9 10 ··· 134 下一页
摘要: //D:\C\WcfService2\WcfService2\IBookService.cs using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; 阅读全文
posted @ 2026-04-23 19:52 FredGrit 阅读(12) 评论(0) 推荐(0)
摘要: 1.In WCF,Add WCF Service,BookService 2. //D:\C\WcfService1\WcfService1\Book.cs using System; using System.Collections.Generic; using System.Linq; usin 阅读全文
posted @ 2026-04-22 21:29 FredGrit 阅读(14) 评论(0) 推荐(0)
摘要: Install-Package Grpc.AspNetCore Install-Package Grpc.Net.Client Install-Package Google.Protobuf Install-Package Grpc.Tools //Add book.proto and shared 阅读全文
posted @ 2026-04-21 22:42 FredGrit 阅读(17) 评论(0) 推荐(0)
摘要: Install-Package Microsoft.Xaml.Behaviors.WPF public class GridBehavior : Behavior<Grid> { private ContextMenu contextMenu; private MenuItem saveItem; 阅读全文
posted @ 2026-04-21 20:53 FredGrit 阅读(18) 评论(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 阅读(13) 评论(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 阅读(10) 评论(0) 推荐(0)
摘要: Install-Package System.Management private string GetGPUMem() { StringBuilder builder = new StringBuilder(); ManagementObjectSearcher searcher = new Ma 阅读全文
posted @ 2026-04-08 21:15 FredGrit 阅读(13) 评论(0) 推荐(0)
摘要: <ItemsControl ItemsSource="{Binding BooksCollection}"> <ItemsControl.Template> <ControlTemplate TargetType="ItemsControl"> <DockPanel LastChildFill="T 阅读全文
posted @ 2026-04-07 21:21 FredGrit 阅读(15) 评论(0) 推荐(0)
摘要: public class DataGridRightClickBehavior : Behavior<DataGrid> { public ICommand SaveSelectedCommand { get { return (ICommand)GetValue(SaveSelectedComma 阅读全文
posted @ 2026-04-05 21:16 FredGrit 阅读(26) 评论(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 阅读(12) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 134 下一页