摘要: c#实现屏幕截图 Graphics 类的CopyFromScreen方法可以拿到整个屏幕的截图,屏幕截图的实现主要就是用到了他 思路是首先将整个屏幕的图像截取下来,然后作为一个窗体的背景显示给用户,由用户选择要截取的区域后,保存图片就可以了 public partial class Form2 :  阅读全文
posted @ 2021-01-22 16:42 惊蛰- 阅读(2184) 评论(0) 推荐(0) 编辑
摘要: c#数字图像处理图像旋转 如果平面上的点绕原点逆时针旋转θº,则其坐标变换公式为: x'=xcosθ+ysinθ y=-xsinθ+ycosθ 其中,(x, y)为原图坐标,(x’, y’)为旋转后的坐标。它的逆变换公式为: x=x'cosθ-y'sinθ y=x'sinθ+y'cosθ 矩阵形式为 阅读全文
posted @ 2021-01-13 14:20 惊蛰- 阅读(845) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-12-17 15:36 惊蛰- 阅读(0) 评论(0) 推荐(0) 编辑
摘要: //定义委托 public delegate void SignOutEventHandler();//添加参数 public SignOutEventHandler SignOut; //使用 SignOut(); //添加委托事件 obj.SignOut += new SignOutEventH 阅读全文
posted @ 2020-09-29 09:01 惊蛰- 阅读(160) 评论(0) 推荐(0) 编辑
摘要: public static void Post3() { CookieContainer cookies = new CookieContainer(); string RequestPara = "account=win&password=123"; RequestPara = Regex.Rep 阅读全文
posted @ 2020-09-29 08:05 惊蛰- 阅读(3369) 评论(0) 推荐(0) 编辑
摘要: https://www.postman.com/ Java前端测试工具 阅读全文
posted @ 2020-09-27 17:54 惊蛰- 阅读(142) 评论(0) 推荐(0) 编辑
摘要: var url = window.location.href; var index = url.indexOf("class=") + 6; var type = url.substring(index); 阅读全文
posted @ 2020-09-14 09:19 惊蛰- 阅读(656) 评论(0) 推荐(0) 编辑
摘要: private void draw() { Bitmap bmap = new Bitmap(1650, 1850); Graphics g = Graphics.FromImage(bmap); g.Clear(Color.White); g.DrawString(Convert.ToString 阅读全文
posted @ 2020-09-08 18:01 惊蛰- 阅读(200) 评论(0) 推荐(0) 编辑
摘要: https://myssl.com/www.dulegame.com 阅读全文
posted @ 2020-08-17 08:07 惊蛰- 阅读(219) 评论(0) 推荐(0) 编辑
摘要: <!-- <Connector port="443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150"> <SSLHostConfig> <Certificate type="RSA" certificateKeystorePassword 阅读全文
posted @ 2020-08-15 17:50 惊蛰- 阅读(762) 评论(0) 推荐(0) 编辑