2 moyan min moyan_min 于 2014.05.22 09:30 提问

C# 窗口移动,文字显示
c#

c#代码:
this.Opacity = 1;
Point p = new Point(Screen.PrimaryScreen.WorkingArea.Width - 968, Screen.PrimaryScreen.WorkingArea.Height - 250);
this.PointToScreen(p);
this.Location = p;
this.Show();
for (int i = 0; i <= this.Height; i += 2)
{
this.Location = new Point(p.X, p.Y - i);
Thread.Sleep(10); // 将线程沉睡时间调的越小升起的越快
}

            this.timer2.Enabled = true;
            this.timer2.Start();

窗口一直在移动,可是在移动过程中文字为何不显示呢??

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!