会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sanmannn
博客园
首页
新随笔
联系
管理
订阅
2023年5月31日
VS2022跨项目文件输出到指定文件夹脚本
摘要: 脚本 : copy $(TargetPath) $(SolutionDir)”路径地址“$(TargetFileName) /y 举个栗子: ”路径地址“ = TestClient\bin\Debug\net5.0-windows\Modules\ => copy $(TargetPath) $(S
阅读全文
posted @ 2023-05-31 15:01 sanmannn
阅读(440)
评论(0)
推荐(0)
2023年3月23日
Modbus TCP 连接与重连
摘要: using Modbus.Device; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text;
阅读全文
posted @ 2023-03-23 10:06 sanmannn
阅读(1518)
评论(0)
推荐(0)
2022年8月26日
C# List 拷贝
摘要: Gateway_Info.List_AllDeviceInfos.Add( new Property_DeviceInfo { DeviceIndex = Index, DeviceName = Name, List_YX = new List<Property_XmlPara>(), List_Y
阅读全文
posted @ 2022-08-26 10:06 sanmannn
阅读(814)
评论(0)
推荐(0)
2022年7月10日
C#针对使用List在添加、修改和输出时存在的“集合已修改,可能无法执行枚举操作”问题解决方法
摘要: 当使用List在添加、修改和输出时存在的“集合已修改,可能无法执行枚举操作”问题,本文参考其他作者的代码,做出的一个解释示例,仅做为学习交流使用。转发请标注原文地址。。。。 定义一个int类型的空List private static List<int> list = new List<int>()
阅读全文
posted @ 2022-07-10 14:31 sanmannn
阅读(1284)
评论(0)
推荐(0)
2022年7月7日
WPF 用command打开超链接Hyperlink
摘要: 看的其他大佬的代码,根据自己需要实现的WPF 用command打开超链接Hyperlink的代码,仅用于交流学习,不要搬运(me vegetable,u know?),不要做小垃圾的搬运工!!! xmal代码,binding控件自身,并赋值NavigateUri参数的值为目标网站地址(注意网站格式,
阅读全文
posted @ 2022-07-07 21:44 sanmannn
阅读(522)
评论(0)
推荐(0)
2022年5月15日
WPF 图片导入
摘要: <Polygon Points="0 0, 420 0, 450 200, 420 400, 0 400" HorizontalAlignment="Left" > <Polygon.Fill> <ImageBrush ImageSource="pack://application:,,,/WPF_
阅读全文
posted @ 2022-05-15 15:13 sanmannn
阅读(391)
评论(0)
推荐(0)
WPF Polygon ViewBox用法
摘要: <Polygon Points="0 0, 420 0, 450 200, 420 400, 0 400" HorizontalAlignment="Left"> </Polygon> 用WPF自带的Polygo元素绘制闭合形状,上图为一个五边形,坐标为0 0, 420 0, 450 200, 42
阅读全文
posted @ 2022-05-15 14:54 sanmannn
阅读(893)
评论(0)
推荐(0)
2022年4月20日
Winform 双指数
摘要: 因公司需求需要用到Winform chart 控件,用于绘制双指数曲线,网上暂未搜到具体范例,花了一段时间研究得以实现,chart控件的属性设置如下。(仅作为学习交流,sanmannn) chart_UDC.Series.Clear(); chart_UDC.ChartAreas.Clear();
阅读全文
posted @ 2022-04-20 22:40 sanmannn
阅读(166)
评论(0)
推荐(0)
公告