C#中怎么让一句名言一个字一个字的显示出来
我用的是winform,我就是打开系统界面,然后一句名言从上往下,显示如
千 天
金 生
散 我
尽 材
还 必
| 复 有
| 来 用
李
白
从天开始显示 最后到白 求教了 我在做毕业论文这个也不怎么熟悉。
------解决方案--------------------画面加个timer或者你用个BackgroundWorker也可以的。
private void timer1_Tick(object sender, EventArgs e)
{
timer1.Stop();
//Debug.Print("Load");
//this.Owner.Enabled = false;
String[][] letters = new String[][] { new String[] { "天", "生", "我", "才", "必", "有", "用", "", "" }, new String[] { "千", "金", "散", "尽", "还", "复", "来", "", "" }, new String[] { "", "", "", "", "", "
------解决方案--------------------", "
------解决方案--------------------", "李", "白" } };
// Create point for upper-left corner of drawing.
PointF drawPoint = new PointF(250.0F, 50.0F);
for (int i = 0; i < letters.Length; i++)
{
drawPoint.X = drawPoint.X - 50;
drawPoint.Y = 50.0F;
for (int j = 0; j < letters[i].Length; j++)
{
&nb