阚金翔
达则兼济天下,穷则独善其身
摘要: //文件名 private string curFileName; //图像对象1 private Bitmap curBitmap; //将本地图片保存到pictureBox中 private void button1_Click(object sender, EventArgs e) { Ope 阅读全文
posted @ 2017-11-29 14:57 阚金翔 阅读(1202) 评论(0) 推荐(0)
摘要: //获得当前屏幕的分辨率 Rectangle rc = sc.Bounds; int iWidth = rc.Width; int iHeight = rc.Height; //创建一个和屏幕一样大的Bitmap Bitmap myImage = new Bitmap(iWidth, iHeight 阅读全文
posted @ 2017-11-29 14:37 阚金翔 阅读(176) 评论(0) 推荐(0)