Assuming you have your own cursor file (.cur) to apply you could hack this.
First you will have to change thje default Arrow cursor in the Registry, then you will need to call some P-Invoke to allow the OS to update the current sytem paramerters so the cursor actually changes.
Somthing like:
private void ChangeCursor(string curFile)
{
Registry.SetValue(@"HKEY_CURRENT_USERControl PanelCursors", "Arrow", curFile);
SystemParametersInfo(SPI_SETCURSORS, 0, null, SPIF_UPDATEINIFILE | SPIF_SENDCHANGE);
}
const int SPI_SETCURSORS = 0x0057;
const int SPIF_UPDATEINIFILE = 0x01;
const int SPIF_SENDCHANGE = 0x02;
[DllImport("user32.dll", EntryPoint = "SystemParametersInfo")]
public static extern bool SystemParametersInfo(uint uiAction, uint uiParam, uint? pvParam, uint fWinIni);
Usage:
ChangeCursor(@"C:MyCursor.cur");
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…