上一页 1 2 3 4 5 6 7 ··· 13 下一页
摘要: CASE 搜索条件 CASE分组条件 阅读全文
posted @ 2019-02-26 09:07 Hello_2018 阅读(173) 评论(0) 推荐(0) 编辑
摘要: import cv2import numpy as npgreen = np.uint8([[[152, 245, 255]]]) # 输入待转换颜色的BGR值hsv_green = cv2.cvtColor(green, cv2.COLOR_BGR2HSV)print(hsv_green) 阅读全文
posted @ 2018-12-17 09:12 Hello_2018 阅读(1290) 评论(0) 推荐(0) 编辑
摘要: 未能添加对“***/***.dll”的引用。请确保此文件可访问并且是一个有效的程序集或 COM 组件。 原因:dll文件使用其他语言生成,C#无法识别 解决方法: 添加using System.Runtime.InteropServices; dll导入后声明函数之后即可使用 [DllImport( 阅读全文
posted @ 2018-10-29 13:55 Hello_2018 阅读(7330) 评论(0) 推荐(0) 编辑
摘要: byte[] arry = new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 }; arry[0] = (byte)(arry[0] | 1); string result = String.Join("", arry); Console.WriteLine(result); 阅读全文
posted @ 2018-10-25 13:29 Hello_2018 阅读(7419) 评论(0) 推荐(0) 编辑
摘要: 1. 工具pyinstaller (pip install pyinstaller) 2.生成exe (pyinstaller -F -w Capturing_PDFs.py) 参数 -F 生成单个文件 -w 去除控制台dos窗口 阅读全文
posted @ 2018-09-14 14:58 Hello_2018 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 0.json文件 1.Read 2.Write 阅读全文
posted @ 2018-08-23 10:40 Hello_2018 阅读(28691) 评论(1) 推荐(0) 编辑
摘要: Server: Client: 阅读全文
posted @ 2018-07-20 13:56 Hello_2018 阅读(5539) 评论(0) 推荐(0) 编辑
摘要: 参考: 1.http://www.cnblogs.com/jinjiangongzuoshi/p/3383878.html 2.https://www.jb51.net/article/11313.htm 3.https://blog.csdn.net/clever101/article/detai 阅读全文
posted @ 2018-07-05 11:17 Hello_2018 阅读(1311) 评论(0) 推荐(0) 编辑
摘要: winform的Textbox设置只读之后设置ForeColor更改颜色无效。这是 TextBox 默认的行为。 解决方法:设置为只读之后,修改控件的BackColor,再设置ForeColor就可以了。 阅读全文
posted @ 2018-06-08 10:23 Hello_2018 阅读(1515) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Threading; class Program { static void Main(string[] args) { Stopwatch stopWatch = new Stop... 阅读全文
posted @ 2018-05-02 14:14 Hello_2018 阅读(394) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 13 下一页