怎么用两个线程,同时让两个label 漂移起来
public void ChinaHappyBirthday()//中文label
{
if (InvokeRequired)
{
Invoke(new MethodInvoker(ChinaHappyBirthday));
}
else
{
while(true)
{
if (label1.Left > this.Width)
{
label1.Left = 0;
}
label1.Left += Rand();
label1.Refresh();
Thread.Sleep(10);
}
}
}
public void EnglishHappyBirthday()//英文label
{
if (InvokeRequired)
{
Invoke(new MethodInvoker(EnglishHappyBirthday));
}
else
{