usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Linq;usingSystem.Text;usingSystem.Windows.Forms;namespacePrintWords{publicpartialclassForm1:Form{publicForm1(){InitializeComponent();}privatevoidForm1_Load(objectsender,EventArgse){}privatevoidbutton1_Click(objectsender,EventArgse){stringWords=这是某某某某的一封真情告白信……你看到了吧,你看到了吗?呵呵你一定看懂了吧,你看懂了吗,看懂了不表示一下吗??哇哇的表白!!;//MessageBox.Show(Words.Length.ToString());查询words中字的个数,string[]WordArr=newstring[Words.Length];//数组,输出上面words中的汉字for(inti=0;iWordArr.Length;i++)//for循环,定义变量,条件{WordArr[i]=Words.Substring(i,1);//for循环体,循环输出i个,每次输出1个字}for(inti=0;iWordArr.Length;i++)//for循环{textBox1.Text+=WordArr[i];//文本框累积输出,Application.DoEvents();//输出words中的汉字,System.Threading.Thread.Sleep(100);//放慢语句的输出,使WORD输出数字变慢}}privatevoidQuit_Click(objectsender,EventArgse){this.Close();//退出按钮}}}