#region
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
#endregion
namespace CSFrameworkV5.Common
{
///
/// 显示等待光标
///
public class CCursor
{
[DllImport("user32.dll")]
public static extern long GetCursorPos(ref Point lpPoint);
///
/// 显示预设光标
///
public static void ShowDefaultCursor()
{
Cursor.Current = Cursors.Default;
Cursor.Show();
}
///
/// 显示等待光标
///
public static void ShowWaitCursor()
{
Cursor.Current = Cursors.WaitCursor;
Cursor.Show();
}
}
}