winform实现qq截图代码

winform实现qq截图代码

ID:33393171

大小:53.00 KB

页数:6页

时间:2019-02-25

winform实现qq截图代码_第1页
winform实现qq截图代码_第2页
winform实现qq截图代码_第3页
winform实现qq截图代码_第4页
winform实现qq截图代码_第5页
资源描述:

《winform实现qq截图代码》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、usingSystem;usingSystem.Drawing;usingSystem.Collections;usingSystem.ComponentModel;usingSystem.Windows.Forms;usingSystem.Data;usingSystem.Runtime.InteropServices;namespaceCaptureScreen{///

///CaptureScreenForm的摘要说明。///publicclassCaptureS

2、creenForm:System.Windows.Forms.Form{privateSystem.Windows.Forms.PictureBoxpicbox;privateSystem.Windows.Forms.ButtonexitBtn;privateSystem.Windows.Forms.ButtonaboutBtn;privateSystem.Windows.Forms.ButtonClearBtn;privateSystem.Windows.Forms.ButtonsaveBtn;priv

3、ateSystem.Windows.Forms.ButtonfullScreenBtn;privateSystem.Windows.Forms.ButtonmouseCaptureBtn;publicstaticImageimage=null;privateSystem.Windows.Forms.Panelpanel1;///

///必需的设计器变量。///privateSystem.ComponentModel.Containercomponents=null;pu

4、blicCaptureScreenForm(){////Windows窗体设计器支持所必需的//InitializeComponent();////TODO:在InitializeComponent调用后添加任何构造函数代码//}///

///清理所有正在使用的资源。///protectedoverridevoidDispose(booldisposing){if(disposing){if(components!=null){components.Dispose();

5、}}base.Dispose(disposing);}#regionWindows窗体设计器生成的代码///

///设计器支持所需的方法-不要使用代码编辑器修改///此方法的内容。///privatevoidInitializeComponent(){this.picbox=newSystem.Windows.Forms.PictureBox();this.fullScreenBtn=newSystem.Windows.Forms.Button();this.mouse

6、CaptureBtn=newSystem.Windows.Forms.Button();this.ClearBtn=newSystem.Windows.Forms.Button();this.saveBtn=newSystem.Windows.Forms.Button();this.aboutBtn=newSystem.Windows.Forms.Button();this.exitBtn=newSystem.Windows.Forms.Button();this.panel1=newSystem.Win

7、dows.Forms.Panel();this.panel1.SuspendLayout();this.SuspendLayout();////picbox//this.picbox.Location=newSystem.Drawing.Point(0,40);this.picbox.Name="picbox";this.picbox.Size=newSystem.Drawing.Size(680,312);this.picbox.SizeMode=System.Windows.Forms.Picture

8、BoxSizeMode.AutoSize;this.picbox.TabIndex=0;this.picbox.TabStop=false;////fullScreenBtn//this.fullScreenBtn.Location=newSystem.Drawing.Point(0,0);this.fullScreenBtn.Name="fullScreenBtn";this.fullScreenBtn.Size=newSy

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。