摘要: // Form1.cs using System; using System.Windows.Forms; namespace WinFormsApp { public partial class Form1 : Form { public Form1() { InitializeComponent 阅读全文
posted @ 2025-05-16 09:54 wenluderen 阅读(4) 评论(0) 推荐(0)
摘要: 先学习:https://www.cnblogs.com/wenluderen/p/18877130 **************************************************************************************************** 阅读全文
posted @ 2025-05-15 10:17 wenluderen 阅读(33) 评论(0) 推荐(0)
摘要: 我在VS2022 的在C# WinForms项目(.NET Framework 4.7.2)创建了Resources.zh-CN.resx 我要深究这个问题。 我先在VS2019里面搞了一波,项目的.csproj 里面关于资源的代码如下: <EmbeddedResource Include="Pro 阅读全文
posted @ 2025-05-15 09:18 wenluderen 阅读(38) 评论(6) 推荐(0)
摘要: 1)我们新建一个C#的winform程序的时候在Properties 里面会有很多东西。 这个Properties 在VS里面显示是一个扳手的符号。 在硬件上就是一个文件夹。 2)双击这个Properties 或右击程序名字找到属性单击 ,最后都会得到下图: 由此我们知道,C# 的程序 有一个叫属性 阅读全文
posted @ 2025-05-14 09:31 wenluderen 阅读(67) 评论(2) 推荐(0)
摘要: 第一步:在训练py文件里面写: model = YOLO('ultralytics/cfg/models/v12/yolov12x-cthv2.yaml') 说白了,就用一个yaml文件作为参数传递到类:yolo的__init__ 函数里面 第二步: def __init__(self, model 阅读全文
posted @ 2025-04-27 14:45 wenluderen 阅读(100) 评论(0) 推荐(0)
摘要: private void thread_functionauto_camera(string sn)//这个函数用自动程序里面图片采集 { //复位采集完毕标志位 m_flag_caitu_wanbi = false; // Destroy the old camera object. if (m_ 阅读全文
posted @ 2025-04-18 13:28 wenluderen 阅读(4) 评论(0) 推荐(0)
摘要: 首先安装系统 Ubuntu 22.04.5 LTS 然后查询当前python的版本: gsz12@gsz12-H610A-IM-A:~$ python3 --versionPython 3.10.12 ******************* 然后查询是否安装显卡驱动 gsz12@gsz12-H610 阅读全文
posted @ 2025-04-03 17:18 wenluderen 阅读(98) 评论(5) 推荐(0)
摘要: 服务器- 接受int 返回 int *** #该函数用于开启一个socket服务器,接受来自客户端的 图片大小 def function_socket_receive_picture_size(): global g_received_picture_size listenSocekt=socket 阅读全文
posted @ 2025-03-24 14:02 wenluderen 阅读(6) 评论(1) 推荐(0)
摘要: ****Install-Package SunnyUI ***** https://gitee.com/yhuse/SunnyUI/wikis/pages?sort_id=3025093&doc_id=1022550 阅读全文
posted @ 2025-03-20 10:30 wenluderen 阅读(10) 评论(0) 推荐(0)
摘要: YOLO11(下面的文字排版顺序, 就是安装的顺序) 显卡驱动:Driver Version: 560.94 VS版本:2019 (非一定需要) cuda 版本:12.4 *** python 版本:python-3.9.13-amd64.exe (https://www.python.org/do 阅读全文
posted @ 2025-03-18 15:55 wenluderen 阅读(44) 评论(10) 推荐(0)