111,126
社区成员
发帖
与我相关
我的任务
分享
try
{
Application.UseWaitCursor = true;
// 从数据库中读取大量记录
.
..
...
}
finally
{
Application.UseWaitCursor = false;
}
try
{
Cursor cr=Cursor.Current;
Cursor.Current=Cursors.WaitCursor
// 从数据库中读取大量记录
.
..
...
}
finally
{
Cursor.Current=cr;
}