摘要:
实现向com1发数据,com2能收到 教程https://www.liangzl.com/get-article-detail-137485.html 串口工具官网www.eltima.com/products/vspdxp 阅读全文
posted @ 2021-11-12 15:28
212的s
阅读(52)
评论(0)
推荐(0)
摘要:
graphics.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; 阅读全文
posted @ 2021-11-12 15:28
212的s
阅读(342)
评论(0)
推荐(0)
摘要:
.net framework版本太低,改为.net 4.5以上版本即可。 framework4.5以下版本SecurityProtocolType定义的TLS协议是1.0的,4.5以上是有1.2版本。 或者发送HTTPS请求前加入下行代码解决问题 ServicePointManager.Securi 阅读全文
posted @ 2021-11-12 15:25
212的s
阅读(373)
评论(0)
推荐(0)
摘要:
推送400错误 cmd 执行 git config --global http.sslVerify false 推送地址,修改http 为 https 就可以正常提交了 阅读全文
posted @ 2021-11-12 15:22
212的s
阅读(364)
评论(0)
推荐(0)
摘要:
public static string GetTimeStamp() { TimeSpan ts = DateTime.Now - new DateTime(1970, 1, 1, 0, 0, 0, 0); return Convert.ToInt64(ts.TotalSeconds).ToStr 阅读全文
posted @ 2021-11-12 15:22
212的s
阅读(29)
评论(0)
推荐(0)
摘要:
https://otp.landian.vip/zh-cn/download.html 阅读全文
posted @ 2021-11-12 15:20
212的s
阅读(126)
评论(0)
推荐(0)
摘要:
public Bitmap ResizeImage(Bitmap bmp, int newW, int newH,int dpi) { var b = new Bitmap(newW, newH); b.SetResolution(dpi,dpi);//设置DPI var g = Graphics. 阅读全文
posted @ 2021-11-12 15:17
212的s
阅读(122)
评论(0)
推荐(0)
摘要:
//image 可以先转换为 bitmap Bitmap bmp = new Bitmap(width, height); bmp.SetResolution(300, 300); 阅读全文
posted @ 2021-11-12 15:16
212的s
阅读(146)
评论(0)
推荐(0)
摘要:
Graphics.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBicubic; Graphics.SmoothingMode = System.Drawing.Drawing2D.Smoothin 阅读全文
posted @ 2021-11-12 15:09
212的s
阅读(532)
评论(0)
推荐(0)
摘要:
//设置自动换行 dgv.DefaultCellStyle.WrapMode = DataGridViewTriState.True; //设置自动调整高度 dgv.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells; 阅读全文
posted @ 2021-11-12 14:52
212的s
阅读(56)
评论(0)
推荐(0)

浙公网安备 33010602011771号