摘要: 1.win11的安装方式 https://www.microsoft.com/zh-cn/software-download/windows11/ 或者 下载 Windows 11 2.修复错误代码 (1)错误代码【0x8007001f】 打开“系统属性”:开始-设置-系统-系统信息-高级系统设置, 阅读全文
posted @ 2025-12-19 11:28 冲云霄 阅读(52) 评论(0) 推荐(0)
摘要: 举个例子: 1.UI类: public delegate void del_showInfo(string str); //命名空间后,UI类前,进行声明一个委托! public del_showInfo hShowInfo_CallBack; //回调函数 TS server; //数据更新类 p 阅读全文
posted @ 2023-04-06 15:37 冲云霄 阅读(2) 评论(0) 推荐(0)
摘要: 服务端UI: namespace Test_TCP { partial class Form1 { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = nul 阅读全文
posted @ 2023-04-06 14:46 冲云霄 阅读(1) 评论(0) 推荐(0)
摘要: #define _CRT_SECURE_NO_WARNINGS //避免时间函数报错 #include "CAdd_Recording.h" //系统自动生成的,啥内容都没有,空的。 #include <iostream> #include <windows.h> #include <ctime> 阅读全文
posted @ 2023-03-26 23:00 冲云霄 阅读(3) 评论(0) 推荐(0)
摘要: 1.修改文件的名称 ReFileName.bat内容: @echo offset a=0setlocal EnableDelayedExpansionfor %%n in (*.txt) do (set /A a+=1ren "%%n" "文档!a!.txt" 其中,*.txt表示想要修改的文件,! 阅读全文
posted @ 2023-02-06 17:53 冲云霄 阅读(2) 评论(0) 推荐(0)
摘要: 1.call 命令 C:\Users\Administrator>help call call 从一个批处理程序调用另一个批处理程序,并且不终止父批处理程序。 两种用法:一种是调用其他批处理程序,如 *.bat ,*.exe ,*.cmd, *com 另一种是,call:label argument 阅读全文
posted @ 2023-02-06 16:52 冲云霄 阅读(2) 评论(0) 推荐(0)
摘要: 涉及的核心类,参见 《模拟键盘的动作信号-"SendInput示例"》 核心方法 1 private void SendMsg() 2 { 3 IntPtr hWnd = DLL_Navigation.FindWindowA(null, "TS"); 4 5 if (hWnd == null) 6 阅读全文
posted @ 2022-12-30 16:23 冲云霄 阅读(2) 评论(0) 推荐(0)
摘要: (1)定义一个引用类(核心类) 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 usin 阅读全文
posted @ 2022-12-30 16:13 冲云霄 阅读(2) 评论(0) 推荐(0)
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 using System.IO; 8 9 阅读全文
posted @ 2022-12-30 15:10 冲云霄 阅读(3) 评论(0) 推荐(0)
摘要: 1 1.链接数据库 2 using System.Data; 3 using System.Data.SqlClient; 4 5 private static string str_Connect = @"Data Source=DESKTOP-ICQTSAF;Database=db_MyQPla 阅读全文
posted @ 2022-10-08 16:30 冲云霄 阅读(1) 评论(0) 推荐(0)