摘要: /// <summary> /// 得到要绘置的图片对像 /// </summary> /// <param name="str">图像在程序集中的地址</param> /// <returns></returns> public static Bitmap GetResBitmap(string 阅读全文
posted @ 2021-06-21 15:56 溶进咖啡的糖 阅读(701) 评论(0) 推荐(0) 编辑
摘要: //git init 初始化 //git status 获取状态 //git add //git commit-m "描述" //git branch 分支 //git branch a 添加分支 //git checkout a 切换分支 //mkdir: XX (创建一个空目录 XX指目录名) 阅读全文
posted @ 2019-06-13 17:06 溶进咖啡的糖 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1 /// 2 /// 获取校验和 3 /// 4 /// 5 /// 6 public static string ADD2(string Command) 7 { 8 byte[] data = Encoding.ASCII.GetBytes(Co... 阅读全文
posted @ 2019-06-11 15:29 溶进咖啡的糖 阅读(2789) 评论(0) 推荐(1) 编辑
摘要: VS nuget 修改全局包的路径 VS dll 不放到软件根目录方法 VS2017-C# dll文件直接放在程序根目录中(和exe文件一起)比较乱,可以将dll文件放在子文件夹中。步骤如下: 1、将dll文件放入子文件夹 2、添加引用 解决方案资源管理器中,中 工程名或者“引用”上右键,选中添加引 阅读全文
posted @ 2019-04-14 20:37 溶进咖啡的糖 阅读(269) 评论(0) 推荐(0) 编辑
摘要: http://blog.sina.com.cn/s/blog _5656b0020100chbv.html(原贴地址,版权归原作者所有) 阅读全文
posted @ 2019-04-13 11:31 溶进咖啡的糖 阅读(1206) 评论(0) 推荐(0) 编辑
摘要: C# 负数和十六进制转换 阅读全文
posted @ 2018-12-06 21:34 溶进咖啡的糖 阅读(3313) 评论(0) 推荐(0) 编辑
摘要: public class HTTPHelper { public static HttpClient Client { get; } = new HttpClient(); public static string GetHTMLByURL(string url) { try { System.Ne 阅读全文
posted @ 2018-08-04 08:16 溶进咖啡的糖 阅读(386) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace Win... 阅读全文
posted @ 2018-08-01 15:07 溶进咖啡的糖 阅读(248) 评论(1) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Data; using System.Data.OleDb; using System.Diagnostics; using System.IO; using System.Li 阅读全文
posted @ 2018-07-31 17:00 溶进咖啡的糖 阅读(645) 评论(0) 推荐(0) 编辑
摘要: DataTable GetDataTable() { DataTable dt = new DataTable(); dt.Columns.Add("ID", typeof(int)); dt.Columns.Add("Name", typeof(string)); for (int i = 0; 阅读全文
posted @ 2018-05-03 22:12 溶进咖啡的糖 阅读(337) 评论(0) 推荐(0) 编辑