摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文
posted @ 2022-09-21 14:37 冲云霄 阅读(1) 评论(0) 推荐(0)
摘要: 一、概述 1.安装.exe文件目录:C:\Users\user\AppData\Local\Programs\Python\Python310 2.配置操作系统环境(1)配置python310环境(2)配置python310\Scripts环境 3.安装插件包(按需安装)win+Rcmdpip in 阅读全文
posted @ 2022-08-08 10:57 冲云霄 阅读(1) 评论(0) 推荐(0)
摘要: using System.Text; using System.Runtime.InteropServices; namespace Win_F2P { class RW_IniFile { [DllImport("kernel32", CharSet = CharSet.Unicode, SetL 阅读全文
posted @ 2022-07-13 15:33 冲云霄 阅读(50) 评论(1) 推荐(0)
摘要: 1.UI类 文本框,由上至下命名为:tb_DataA,tb_DataB,tb_Result 按钮,btn_GetResult using System; using System.Collections.Generic; using System.ComponentModel; using Syst 阅读全文
posted @ 2022-06-27 20:45 冲云霄 阅读(1) 评论(0) 推荐(0)
摘要: 举个例子: 字符串:str_Command=“01 06 10 00 00 00 8D 07” 转为8位字节数组: string[] strs = str_Command.Split(' '); byte[] bts = new byte[strs.Length]; for (int i = 0; 阅读全文
posted @ 2022-06-23 09:29 冲云霄 阅读(373) 评论(0) 推荐(0)
摘要: 1.WDF:有KMDF,UMDF两种模式。 WDF:(Windows Driver Foundation), KMDF:(内核模式的驱动程序),UMDF:(用户模式的驱动程序) 2.KMDF:作为内核模式操作系统组件的一部分,管理I/O、即插即用、内存、进程和线程、安全等。 3.UMDF:提供Win 阅读全文
posted @ 2022-06-22 10:25 冲云霄 阅读(2) 评论(0) 推荐(0)
摘要: 1.配置编译环境: “计算机”-》“属性”-》“高级系统设置”-》“环境变量”-》“***用户变量” -》“Path”-》“编辑”-》 填入“;C:\Windows\Microsoft.NET\Framework\v4.0.30319” 注意: (1) 可以修改“系统变量”的Path。 (2) 填入 阅读全文
posted @ 2022-06-06 14:32 冲云霄 阅读(156) 评论(0) 推荐(1)
摘要: 强烈建议去微软官网看文档,UI组件类未贴出,且这个乱↓↓↓ 一.监听端口 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing; 阅读全文
posted @ 2022-05-07 09:41 冲云霄 阅读(221) 评论(0) 推荐(0)
摘要: 1.环境: 开发语言:C#, 开发工具VS2017 using System.Web.Script.Serialization; //需要添加System.Web.Extensions.dll 2.JSON文件内容 (注意:最外层是数组[]) [ { "ID":0, "serials": [ {"x 阅读全文
posted @ 2022-04-18 12:26 冲云霄 阅读(202) 评论(0) 推荐(0)
摘要: 序列化 (Serialization)是将对象的状态信息转换为可以存储或传输的形式的过程. 1.环境: 开发语言:C#, 开发工具VS2017 using System.Web.Script.Serialization; //需要添加System.Web.Extensions.dll 2.JSON文 阅读全文
posted @ 2022-04-18 11:11 冲云霄 阅读(487) 评论(0) 推荐(0)