• 大小: 0.04M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: C#  下载  定时  休息  锁屏  

资源简介

每到半点的时候强制提示休息,过后自动恢复

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.Win32;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Threading;

namespace WinLockScreen
{
    public partial class Form1 : Form
    {
        #region 变量
        Random Random1 = new Random();
        #endregion

        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender EventArgs e)
        {
            this.Hide();
            
            btnClose.Hide();
            lblInfo1.Text = “Width:“ + this.Width.ToString();
            lblInfo2.Text = “Height:“ + this.H

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-04-28 16:42  WinLockScreen\
     文件        6462  2019-04-28 16:42  WinLockScreen\Form1.Designer.cs
     文件        2720  2019-04-28 16:42  WinLockScreen\Form1.cs
     文件        6011  2019-04-28 16:42  WinLockScreen\Form1.resx
     文件         494  2017-03-08 10:32  WinLockScreen\Program.cs
     目录           0  2017-03-03 09:11  WinLockScreen\Properties\
     文件        1358  2017-03-03 09:11  WinLockScreen\Properties\AssemblyInfo.cs
     文件        2878  2017-03-03 09:11  WinLockScreen\Properties\Resources.Designer.cs
     文件        5612  2017-03-03 09:11  WinLockScreen\Properties\Resources.resx
     文件        1100  2017-03-03 09:11  WinLockScreen\Properties\Settings.Designer.cs
     文件         249  2017-03-03 09:11  WinLockScreen\Properties\Settings.settings
     文件        3678  2019-04-28 16:43  WinLockScreen\WinLockScreen.csproj
     目录           0  2019-04-28 16:22  WinLockScreen\bin\
     目录           0  2019-04-28 16:49  WinLockScreen\bin\Debug\
     文件       10752  2019-04-28 16:43  WinLockScreen\bin\Debug\WinLockScreen.exe
     文件        1557  2017-03-15 11:58  WinLockScreen\bin\Debug\WinLockScreen.exe.lnk
     目录           0  2019-04-28 16:52  WinLockScreen\bin\Release\
     目录           0  2017-03-03 09:11  WinLockScreen\obj\
     目录           0  2017-03-03 09:11  WinLockScreen\obj\x86\
     目录           0  2019-04-28 16:43  WinLockScreen\obj\x86\Debug\
     文件        5423  2018-12-03 16:28  WinLockScreen\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        7080  2019-04-28 16:42  WinLockScreen\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     目录           0  2019-04-28 16:42  WinLockScreen\obj\x86\Debug\TempPE\
     文件        3584  2019-04-28 16:42  WinLockScreen\obj\x86\Debug\TempPE\Form11.Designer.cs.dll
     文件         180  2019-04-28 16:43  WinLockScreen\obj\x86\Debug\WinLockScreen.Form1.resources
     文件         180  2019-04-28 16:43  WinLockScreen\obj\x86\Debug\WinLockScreen.Properties.Resources.resources
     文件        1484  2019-04-28 16:48  WinLockScreen\obj\x86\Debug\WinLockScreen.csproj.FileListAbsolute.txt
     文件        1070  2019-04-28 16:43  WinLockScreen\obj\x86\Debug\WinLockScreen.csproj.GenerateResource.Cache
     文件        9177  2018-05-25 14:23  WinLockScreen\obj\x86\Debug\WinLockScreen.csprojResolveAssemblyReference.cache
     文件       10752  2019-04-28 16:43  WinLockScreen\obj\x86\Debug\WinLockScreen.exe
     文件       22016  2019-04-28 16:43  WinLockScreen\obj\x86\Debug\WinLockScreen.pdb
............此处省略2个文件信息

评论

共有 条评论