08 2024 档案

摘要:/// <summary> /// 背景透明化 /// </summary> /// <param name="img">原图</param> /// <returns></returns> public static Bitmap ConverImageBackTransparent(Bitmap 阅读全文
posted @ 2024-08-28 08:39 qiutian-hao 阅读(122) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// 对一个坐标点按照一个中心进行旋转 /// </summary> /// <param name="x">坐标x</param> /// <param name="y">坐标y</param> /// <param name="angle">旋转角度</param> 阅读全文
posted @ 2024-08-28 08:37 qiutian-hao 阅读(71) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// 同步锁 /// </summary> private static readonly object syncRoot = new object(); /// <summary> /// 读同步锁 /// </summary> private static read 阅读全文
posted @ 2024-08-13 09:04 qiutian-hao 阅读(6) 评论(0) 推荐(0) 编辑
摘要:1.xml文件格式 <?xml version="1.0" encoding="utf-8" ?> <root> <parameter> <lasertype>2</lasertype> </parameter> </root> 2.C#实现读取XML文件功能 public static void 阅读全文
posted @ 2024-08-05 15:48 qiutian-hao 阅读(10) 评论(0) 推荐(0) 编辑
摘要:1.HaIcon实现的C#代码 // // File generated by HDevelop for HALCON/DOTNET (C#) Version 12.0 // // This file is intended to be used with the HDevelopTemplate 阅读全文
posted @ 2024-08-02 16:00 qiutian-hao 阅读(97) 评论(0) 推荐(0) 编辑
摘要:1.xaml实现 <UserControl x:Class="HalconDemo.ImageUserControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas. 阅读全文
posted @ 2024-08-02 09:33 qiutian-hao 阅读(284) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示