차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

winforms:hide_pointer_cursor:index [2026/07/08 02:24] – 만듦 mfranklinwinforms:hide_pointer_cursor:index [2026/07/08 02:30] (현재) mfranklin
줄 4: 줄 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; 
 +        } 
 +    }
 } }
  
줄 56: 줄 62:
     }     }
 } }
 +
 </code> </code>