# lockwinforms **Repository Path**: mkerj/lockwinforms ## Basic Information - **Project Name**: lockwinforms - **Description**: 45分钟自动锁屏工具,经过几年使用我的干眼症缓解了很多。 - **Primary Language**: C# - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-03-28 - **Last Updated**: 2026-03-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # lockwinforms #### 介绍 45分钟自动锁屏工具,经过几年使用我的干眼症缓解了很多。 #### 软件架构 软件架构说明 donet下载地址:https://download.visualstudio.microsoft.com/download/pr/d0a958a1-50e7-4887-ba3d-3b80e946d7a1/f247ffeae9d13f4ffcc731c7d7b3de45/dotnet-sdk-3.1.410-win-x64.exe #### 安装教程 打包成64位 dotnet publish lockwinforms -r win10-x64 /p:PublishSingleFile=true /p:PublishTrimmed=true 打包成32位 dotnet publish lockwinforms -r win10-x86 /p:PublishSingleFile=true /p:PublishTrimmed=true #### 使用说明 把程序lockwinforms.exe放到开机启动项中 ```powershell # 注意:D:\\Program Files\\locking\\lockwinforms.exe 改成您的目录 reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v "locking" /t REG_SZ /d "D:\\Program Files\\locking\\lockwinforms.exe" /f ``` 快捷键:`Ctrl + Alt + Shift + Q` 解除锁屏