日期:2014-05-17 浏览次数:21176 次
Thread th;
//Init
th = new Thread(new ThreadStart(XXXX));
th.Start();
//XXXX
void XXXX()
{
while (!lblText.Created);
while (true)
{
if (!lblText.Created) break;
lblText.Invalidate();
Thread.Sleep(10);
}
}
//Paint上面代码SbFont后面要释放
SbFont.Dispose();