欢迎来到天天文库
浏览记录
ID:40678748
大小:18.21 KB
页数:4页
时间:2019-08-06
《c# 英语单词统计》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、usingSystem;usingSystem.Drawing;usingSystem.Collections;usingSystem.ComponentModel;usingSystem.Windows.Forms;usingSystem.Data;namespaceWindowsApplication1{//////Form1的摘要说明。///publicclassForm1:System.Windows.Forms.Form{privateSystem.Windows.Forms.TextBoxtextBox1;p
2、rivateSystem.Windows.Forms.TextBoxtextBox2;privateSystem.Windows.Forms.Buttonbutton1;privateSystem.Windows.Forms.Labellabel1;privateSystem.Windows.Forms.Labellabel2;//////必需的设计器变量。///privateSystem.ComponentModel.Containercomponents=null;publicForm1(){////Windows窗
3、体设计器支持所必需的//InitializeComponent();////TODO:在InitializeComponent调用后添加任何构造函数代码//}//////清理所有正在使用的资源。///protectedoverridevoidDispose(booldisposing){if(disposing){if(components!=null){components.Dispose();}}base.Dispose(disposing);}#regionWindows窗体设计器生成的代码///
4、///设计器支持所需的方法-不要使用代码编辑器修改///此方法的内容。///privatevoidInitializeComponent(){this.textBox1=newSystem.Windows.Forms.TextBox();this.textBox2=newSystem.Windows.Forms.TextBox();this.button1=newSystem.Windows.Forms.Button();this.label1=newSystem.Windows.Forms.Label();this.label2=new
5、System.Windows.Forms.Label();this.SuspendLayout();////textBox1//this.textBox1.AllowDrop=true;this.textBox1.Font=newSystem.Drawing.Font("宋体",9F,System.Drawing.FontStyle.Regular,System.Drawing.GraphicsUnit.Point,((byte)(134)));this.textBox1.Location=newSystem.Drawing.Point(15,150);th
6、is.textBox1.Multiline=true;this.textBox1.Name="textBox1";this.textBox1.ScrollBars=System.Windows.Forms.ScrollBars.Vertical;this.textBox1.Size=newSystem.Drawing.Size(450,300);this.textBox1.TabIndex=0;////textBox2//this.textBox2.Font=newSystem.Drawing.Font("宋体",9F,System.Drawing.Font
7、Style.Regular,System.Drawing.GraphicsUnit.Point,((byte)(134)));this.textBox2.Location=newSystem.Drawing.Point(500,150);this.textBox2.Multiline=true;this.textBox2.Name="textBox2";this.textBox2.ScrollBars=System.Windows.Forms.ScrollBars.Vertical;this.textBox2.Size=newSystem.Drawing.S
8、ize(180,300);this.textBox2
此文档下载收益归作者所有