2012年8月29日
摘要: 最近项目需要对界面进行截图并保存的功能,在网上搜索了下结合实际需求最终完成功能,代码如下 //调用导图 private void pictureBox4_Click(object sender, EventArgs e) { Bitmap bitmap = new Bitmap(this.Width, this.Height); DrawToBitmap(this, bitmap, new Rectangle(0, 0, this.Width, this.Height)); bool isSave = true; SaveFileDialog saveImageDialog = new... 阅读全文
posted @ 2012-08-29 17:49 夜&枫 阅读(11494) 评论(1) 推荐(2)