摘要:
有时候window.close();无效, 改成 用于关闭页面 阅读全文
摘要:
OpenCvSharp是封装了OpenCV的.net版本 项目地址:https://github.com/shimat/opencvsharp 简单使用: 1、NuGet安装 2、使用OpenCvSharp打开一张图片,需要添加 OpenCvSharp 命名空间 运行结果: 阅读全文
摘要:
使用HtmlAgilityPack来开发简单爬虫: 1、NuGet安装HtmlAgilityPack 2、简单的爬虫代码 官网地址:https://html-agility-pack.net/ 阅读全文
摘要:
1、 Selenium IDE Selenium IDE is a Chrome and Firefox plugin which records and plays back user interactions with the browser. Use this to either create 阅读全文
摘要:
使用mvc绑定表单 每次绑定的对象都为null,查看Request.Form里面是有传进去的参数的,并且属性名称完全一样,最后发现是 变量的命名不能和属性里面的字段一样 一样的话绑定表单失败 阅读全文
摘要:
动态构建 WHERE(C=>C.Id=Value): 动态构建List的Contains表达式: 参考地址:https://stackoverflow.com/questions/278684/how-do-i-create-an-expression-tree-to-represent-strin 阅读全文
摘要:
解决办法: 减少y轴的margion,和格式化y轴 阅读全文
摘要:
使用Echars绑定图表的click事件后,发现click事件重复触发了二次。 解决办法:在绑定事件之前关闭chart的click。 off方法文档: 阅读全文
摘要:
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Web; using NPOI; using NPOI.HPSF; using NPOI.HSSF.UserMode... 阅读全文
摘要:
string path = Application.StartupPath; SetAutoRun(path + @"\AppName.exe", true); /// /// 设置应用程序开机自动运行 /// /// 应用程序的文件名 /// 是否自动运行,为false时,取消自动运行 ... 阅读全文