• 大小: 0.04M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-24
  • 语言: 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;

namespace HSDesktopIcon
{
    public partial class Frm_Main : Form
    {
        public Frm_Main()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            //定位注册表项
            RegistryKey RKey=Registry.CurrentUser.CreateSubKey(“Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\HideDesktopIcons\\NewStartPanel“);
            if (checkBox1.Checked)
                RKey.SetValue(“{20D04FE0-3AEA-1069-A2D8-08002B30309D}“ 1);//隐藏我的电脑
            if (checkBox2.Checked)
                RKey.SetValue(“{59031a47-3f72-44a7-89c5-5595fe6b30ee}“ 1);//隐藏我的文档
            if (checkBox3.Checked)
                RKey.SetValue(“{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}“ 1);//隐藏网上邻居
  

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      10752  2016-12-22 02:30  HSDesktopIcon\HSDesktopIcon\bin\Debug\HSDesktopIcon.exe

     文件      30208  2016-12-22 02:30  HSDesktopIcon\HSDesktopIcon\bin\Debug\HSDesktopIcon.pdb

     文件      14328  2016-12-22 02:30  HSDesktopIcon\HSDesktopIcon\bin\Debug\HSDesktopIcon.vshost.exe

     文件        490  2016-12-22 02:29  HSDesktopIcon\HSDesktopIcon\bin\Debug\HSDesktopIcon.vshost.exe.manifest

     文件       2415  2016-12-21 17:37  HSDesktopIcon\HSDesktopIcon\Frm_Main.cs

     文件       6618  2016-12-21 17:36  HSDesktopIcon\HSDesktopIcon\Frm_Main.designer.cs

     文件       5814  2016-12-21 17:36  HSDesktopIcon\HSDesktopIcon\Frm_Main.resx

     文件       3995  2016-12-21 17:36  HSDesktopIcon\HSDesktopIcon\HSDesktopIcon.csproj

     文件       7032  2016-12-22 02:29  HSDesktopIcon\HSDesktopIcon\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       2049  2016-12-22 02:29  HSDesktopIcon\HSDesktopIcon\obj\Debug\HSDesktopIcon.csproj.FileListAbsolute.txt

     文件        850  2016-12-22 02:29  HSDesktopIcon\HSDesktopIcon\obj\Debug\HSDesktopIcon.csproj.GenerateResource.Cache

     文件      10752  2016-12-22 02:29  HSDesktopIcon\HSDesktopIcon\obj\Debug\HSDesktopIcon.exe

     文件        180  2016-12-22 02:29  HSDesktopIcon\HSDesktopIcon\obj\Debug\HSDesktopIcon.Frm_Main.resources

     文件      30208  2016-12-22 02:29  HSDesktopIcon\HSDesktopIcon\obj\Debug\HSDesktopIcon.pdb

     文件        180  2016-12-22 02:29  HSDesktopIcon\HSDesktopIcon\obj\Debug\HSDesktopIcon.Properties.Resources.resources

     文件       4608  2016-12-22 04:13  HSDesktopIcon\HSDesktopIcon\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件        497  2016-12-21 17:36  HSDesktopIcon\HSDesktopIcon\Program.cs

     文件       1358  2016-12-21 20:58  HSDesktopIcon\HSDesktopIcon\Properties\AssemblyInfo.cs

     文件       2866  2016-12-21 20:58  HSDesktopIcon\HSDesktopIcon\Properties\Resources.Designer.cs

     文件       5612  2016-12-21 20:58  HSDesktopIcon\HSDesktopIcon\Properties\Resources.resx

     文件       1113  2016-12-21 20:57  HSDesktopIcon\HSDesktopIcon\Properties\Settings.Designer.cs

     文件        249  2016-12-21 20:57  HSDesktopIcon\HSDesktopIcon\Properties\Settings.settings

     文件        929  2016-12-21 16:07  HSDesktopIcon\HSDesktopIcon.sln

     文件         22  2016-12-21 16:07  HSDesktopIcon\程序使用说明.txt

     目录          0  2016-12-22 04:13  HSDesktopIcon\HSDesktopIcon\obj\Debug\Refactor

     目录          0  2016-12-22 04:13  HSDesktopIcon\HSDesktopIcon\obj\Debug\TempPE

     目录          0  2016-12-22 02:30  HSDesktopIcon\HSDesktopIcon\bin\Debug

     目录          0  2016-12-22 02:29  HSDesktopIcon\HSDesktopIcon\bin\Release

     目录          0  2016-12-22 04:13  HSDesktopIcon\HSDesktopIcon\obj\Debug

     目录          0  2016-12-22 02:29  HSDesktopIcon\HSDesktopIcon\bin

............此处省略7个文件信息

评论

共有 条评论