User Tools

Site Tools

한국어

winforms:hide_mouse_cursor:index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
winforms:hide_mouse_cursor:index [2026/07/08 02:24] mfranklinwinforms:hide_mouse_cursor:index [2026/07/08 02:28] (current) mfranklin
Line 4: Line 4:
  
 <code csharp> <code csharp>
-if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))+public partial class Main : Form
 { {
-    Cursor = Cursors.Invisible;+    public Main() 
 +    { 
 +        if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) 
 +        { 
 +            Cursor = Cursors.Invisible; 
 +        } 
 +    }
 } }
  
Line 56: Line 62:
     }     }
 } }
 +
 </code> </code>
winforms/hide_mouse_cursor/index.1783477487.txt.gz · Last modified: by mfranklin