How to

show/hide mouse cursor

Published: 22. January 2009 | Updated: 22. January 2009
License: Microsoft Public License (MS-PL)
Categories: Winforms
Tags: C# Windows Winforms
Was this snippet helpful for you? YESYES / NONO

Import namespace

using System.Windows.Forms;

Code

// hide cursor
Cursor.Hide();

// show cursor
Cursor.Show();
Send us feedback about this snippet »



Related Snippets: