• 大小: 0.04M
    文件类型: .rar
    金币: 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.Windows.Forms;

namespace HideMouse
{
    public partial class Frm_Main : Form
    {
        public Frm_Main()
        {
            InitializeComponent();
        }
        //重写API函数
        [System.Runtime.InteropServices.DllImport(“user32.dll“ EntryPoint = “ShowCursor“)]
        public extern static bool ShowCursor(bool bShow);

        private void btnHide_Click(object sender EventArgs e)
        {
            ShowCursor(false);//鼠标隐藏
        }

        private void btnShow_Click(object sender EventArgs e)
        {
            ShowCursor(true);//鼠标显示
        }
    }
}

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

     文件       9216  2016-12-22 03:35  HideMouse\HideMouse\bin\Debug\HideMouse.exe

     文件      34304  2016-12-22 03:35  HideMouse\HideMouse\bin\Debug\HideMouse.pdb

     文件      14328  2016-12-22 03:35  HideMouse\HideMouse\bin\Debug\HideMouse.vshost.exe

     文件        490  2016-12-22 03:35  HideMouse\HideMouse\bin\Debug\HideMouse.vshost.exe.manifest

     文件        811  2016-12-21 17:48  HideMouse\HideMouse\Frm_Main.cs

     文件       4229  2016-12-21 17:48  HideMouse\HideMouse\Frm_Main.Designer.cs

     文件       5814  2016-12-21 17:48  HideMouse\HideMouse\Frm_Main.resx

     文件       3987  2016-12-21 17:48  HideMouse\HideMouse\HideMouse.csproj

     文件       7008  2016-12-22 03:35  HideMouse\HideMouse\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       2667  2016-12-22 03:35  HideMouse\HideMouse\obj\Debug\HideMouse.csproj.FileListAbsolute.txt

     文件        908  2016-12-22 03:35  HideMouse\HideMouse\obj\Debug\HideMouse.csproj.GenerateResource.Cache

     文件       9216  2016-12-22 03:35  HideMouse\HideMouse\obj\Debug\HideMouse.exe

     文件        180  2016-12-22 03:35  HideMouse\HideMouse\obj\Debug\HideMouse.Form1.resources

     文件        180  2016-12-22 03:35  HideMouse\HideMouse\obj\Debug\HideMouse.Frm_Main.resources

     文件      34304  2016-12-22 03:35  HideMouse\HideMouse\obj\Debug\HideMouse.pdb

     文件        180  2016-12-22 03:35  HideMouse\HideMouse\obj\Debug\HideMouse.Properties.Resources.resources

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

     文件        493  2016-12-21 17:48  HideMouse\HideMouse\Program.cs

     文件       1358  2016-12-21 21:17  HideMouse\HideMouse\Properties\AssemblyInfo.cs

     文件       2858  2016-12-21 21:17  HideMouse\HideMouse\Properties\Resources.Designer.cs

     文件       5612  2016-12-21 21:17  HideMouse\HideMouse\Properties\Resources.resx

     文件       1109  2016-12-21 21:17  HideMouse\HideMouse\Properties\Settings.Designer.cs

     文件        249  2016-12-21 21:16  HideMouse\HideMouse\Properties\Settings.settings

     文件        917  2016-12-21 16:09  HideMouse\HideMouse.sln

     目录          0  2016-12-22 04:17  HideMouse\HideMouse\obj\Debug\Refactor

     目录          0  2016-12-22 04:17  HideMouse\HideMouse\obj\Debug\TempPE

     目录          0  2016-12-22 03:35  HideMouse\HideMouse\bin\Debug

     目录          0  2016-12-22 03:35  HideMouse\HideMouse\bin\Release

     目录          0  2016-12-22 04:17  HideMouse\HideMouse\obj\Debug

     目录          0  2016-12-22 03:35  HideMouse\HideMouse\bin

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

评论

共有 条评论