08 2024 档案
摘要:/// <summary> /// 背景透明化 /// </summary> /// <param name="img">原图</param> /// <returns></returns> public static Bitmap ConverImageBackTransparent(Bitmap
阅读全文
摘要:/// <summary> /// 对一个坐标点按照一个中心进行旋转 /// </summary> /// <param name="x">坐标x</param> /// <param name="y">坐标y</param> /// <param name="angle">旋转角度</param>
阅读全文
摘要:/// <summary> /// 同步锁 /// </summary> private static readonly object syncRoot = new object(); /// <summary> /// 读同步锁 /// </summary> private static read
阅读全文
摘要:1.xml文件格式 <?xml version="1.0" encoding="utf-8" ?> <root> <parameter> <lasertype>2</lasertype> </parameter> </root> 2.C#实现读取XML文件功能 public static void
阅读全文
摘要:1.HaIcon实现的C#代码 // // File generated by HDevelop for HALCON/DOTNET (C#) Version 12.0 // // This file is intended to be used with the HDevelopTemplate
阅读全文
摘要:1.xaml实现 <UserControl x:Class="HalconDemo.ImageUserControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.
阅读全文