会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sanmannn
博客园
首页
新随笔
联系
管理
订阅
随笔- 8 文章- 2 评论- 0 阅读-
5406
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
阅读(353)
评论(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
阅读(1231)
评论(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
阅读(797)
评论(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
阅读(1180)
评论(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
阅读(445)
评论(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
阅读(372)
评论(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
阅读(858)
评论(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
阅读(138)
评论(0)
推荐(0)
编辑
公告
昵称:
sanmannn
园龄:
3年7个月
粉丝:
1
关注:
3
+加关注
<
2025年3月
>
日
一
二
三
四
五
六
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
更多链接
我的标签
winform
(1)
chart
(1)
双指数
(1)
随笔档案
2023年5月(1)
2023年3月(1)
2022年8月(1)
2022年7月(2)
2022年5月(2)
2022年4月(1)
阅读排行榜
1. Modbus TCP 连接与重连(1231)
2. C#针对使用List在添加、修改和输出时存在的“集合已修改,可能无法执行枚举操作”问题解决方法(1180)
3. WPF Polygon ViewBox用法(858)
4. C# List 拷贝(797)
5. WPF 用command打开超链接Hyperlink(445)
点击右上角即可分享