C# How can I hide the cursor in a winforms app?

2020-07-02 10:16发布

问题:

Im developing a touchscreen app and I need to hide the cursor whenever it is within the main Form.

Any ideas?

回答1:

I knew this was a stupid question! Simply put

Cursor.Hide();

is all I needed in the forms constructor.