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

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Microsoft.Win32;
using System.Security.Permissions;

namespace ScreenSaver
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();

            DisableTaskManager();
        }

        protected override void onkeydown(KeyEventArgs e)
        {
            if (e.KeyCode == Keys.F4 && e.Modifiers == Keys.Alt)
                e.Handled = true;
            else
                base.onkeydown(e);
        }

        private void DisableTaskManager()
        {
            RegistryKey regkey

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-08-30 21:41  ScreenSaver\
     文件         189  2017-08-24 18:36  ScreenSaver\App.config
     目录           0  2017-08-30 21:41  ScreenSaver\bin\
     目录           0  2017-08-30 21:41  ScreenSaver\bin\Debug\
     文件     4760064  2017-08-25 09:37  ScreenSaver\bin\Debug\ScreenSaver.exe
     文件         189  2017-08-24 18:36  ScreenSaver\bin\Debug\ScreenSaver.exe.config
     文件       28160  2017-08-25 09:37  ScreenSaver\bin\Debug\ScreenSaver.pdb
     文件        4609  2017-08-30 21:43  ScreenSaver\Form1.cs
     文件        7159  2017-08-24 23:10  ScreenSaver\Form1.Designer.cs
     文件        6206  2017-08-24 23:10  ScreenSaver\Form1.resx
     目录           0  2017-08-30 21:41  ScreenSaver\obj\
     目录           0  2017-08-30 21:41  ScreenSaver\obj\Debug\
     文件        1728  2017-08-25 09:06  ScreenSaver\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        8446  2017-08-25 09:06  ScreenSaver\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件          42  2017-08-25 09:06  ScreenSaver\obj\Debug\ScreenSaver.csproj.CoreCompileInputs.cache
     文件        2924  2017-08-25 09:08  ScreenSaver\obj\Debug\ScreenSaver.csproj.FileListAbsolute.txt
     文件        1300  2017-08-24 23:18  ScreenSaver\obj\Debug\ScreenSaver.csproj.GenerateResource.Cache
     文件        4128  2017-08-25 09:08  ScreenSaver\obj\Debug\ScreenSaver.csprojResolveAssemblyReference.cache
     文件     4760064  2017-08-25 09:37  ScreenSaver\obj\Debug\ScreenSaver.exe
     文件         180  2017-08-24 23:18  ScreenSaver\obj\Debug\ScreenSaver.Form1.resources
     文件       28160  2017-08-25 09:37  ScreenSaver\obj\Debug\ScreenSaver.pdb
     文件     4747221  2017-08-24 20:31  ScreenSaver\obj\Debug\ScreenSaver.Properties.Resources.resources
     文件           0  2017-08-24 18:36  ScreenSaver\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
     文件           0  2017-08-24 18:36  ScreenSaver\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
     文件           0  2017-08-24 18:36  ScreenSaver\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
     目录           0  2017-08-30 21:41  ScreenSaver\obj\Debug\TempPE\
     文件        4096  2017-08-24 20:01  ScreenSaver\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
     文件         526  2017-08-24 18:36  ScreenSaver\Program.cs
     目录           0  2017-08-30 21:41  ScreenSaver\Properties\
     文件        1315  2017-08-24 18:36  ScreenSaver\Properties\AssemblyInfo.cs
     文件        5855  2017-08-24 20:01  ScreenSaver\Properties\Resources.Designer.cs
............此处省略13个文件信息

评论

共有 条评论