摘要: pip install mysql-connector or pip install mysql-connector-python -i https://pypi.tuna.tsinghua.edu.cn/simple/ create table t2(id bigint primary key a 阅读全文
posted @ 2025-10-29 00:55 FredGrit 阅读(4) 评论(0) 推荐(0)
摘要: import uuid import datetime import time def get_uuid_time(): return (f"{uuid.uuid4().hex}_____{datetime.datetime.now().strftime("%Y%m%d%H%M%S%f")}") d 阅读全文
posted @ 2025-10-27 22:26 FredGrit 阅读(2) 评论(0) 推荐(0)
摘要: Install-Package Prism.Wpf Install-Package Prism.DryIOC #region Interfaces public interface IIDService { int GetID(); } public class IDService : IIDSer 阅读全文
posted @ 2025-10-27 22:18 FredGrit 阅读(4) 评论(0) 推荐(0)
摘要: Install-Package Prism.Wpf; Install-Package Prism.DryIOC; Install-Package System.Text.Json; <prism:PrismApplication x:Class="WpfApp36.App" xmlns="http: 阅读全文
posted @ 2025-10-20 22:22 FredGrit 阅读(6) 评论(0) 推荐(0)
摘要: Install-Package NewtonSoft.Json; Install-Package MySQL.Data; Install-Package SqlSugar; mysql> show create table t1; + + + | Table | Create Table | + + 阅读全文
posted @ 2025-10-17 09:46 FredGrit 阅读(5) 评论(0) 推荐(0)
摘要: Install-Package System.IO.Ports; //Sender.cs using System.IO.Ports; using System.Text; namespace ConsoleApp35 { internal class Program { static async 阅读全文
posted @ 2025-10-16 13:24 FredGrit 阅读(6) 评论(0) 推荐(0)
摘要: 1.Download from https://sourceforge.net/projects/com0com/files/com0com/3.0.0/com0com-3.0.0.0-x64-fre.zip 2.Unzip 3.Run exe file and click as the defau 阅读全文
posted @ 2025-10-15 10:59 FredGrit 阅读(12) 评论(0) 推荐(0)
摘要: Install-Package Prism.Unity; Install-Package Prism.WPF; //IEventAggregator using System; using System.Collections.Generic; using System.Text; namespac 阅读全文
posted @ 2025-10-14 21:10 FredGrit 阅读(5) 评论(0) 推荐(0)
摘要: using System.Runtime.InteropServices; namespace ConsoleApp24 { internal class Program { [DllImport("user32.dll")] static extern bool SetProcessDPIAwar 阅读全文
posted @ 2025-10-12 16:55 FredGrit 阅读(7) 评论(0) 推荐(0)
摘要: Install-Package OpenCVSharp4; Install-Package OpenCVSharp4.runtime.win; //csproj file <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Ex 阅读全文
posted @ 2025-10-12 16:41 FredGrit 阅读(5) 评论(0) 推荐(0)