摘要: 获取鼠标位置及鼠标单击了哪个按键。private void GetMousePoint(){ Point ms = Control.MousePosition; this.label2.Text = string.Format("当前鼠标位置:{0}:{1}", ms.X, ms.Y); MouseButtons mb = Control.MouseButtons; ... 阅读全文
posted @ 2020-02-26 12:47 snsnet 阅读(9853) 评论(0) 推荐(0) 编辑
摘要: 该方式是直接对屏幕进行截图操作UserControl chartContainPanel = new UserControl();Graphics graph = chartContainPanel.CreateGraphics();Size s = chartContainPanel.Size;Bitmap memoryImage = new Bitmap(s.Width, s.Height, ... 阅读全文
posted @ 2020-02-26 11:52 snsnet 阅读(1458) 评论(0) 推荐(0) 编辑
摘要: 突然发现,原来我有博客,但忘记用户名和密码了。原来的博客地址:https://www.cnblogs.com/snsnet 阅读全文
posted @ 2020-02-26 11:15 snsnet 阅读(96) 评论(0) 推荐(0) 编辑