• 大小: 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.Text;
using System.Windows.Forms;

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

        private void textBox1_MouseDown(object sender MouseEventArgs e)
        {
            string str = textBox1.Text;//记录文本框中的内容
            if (e.Button == MouseButtons.Right)//如果按下鼠标右键
            {
                str += “鼠标右键按下 “;//记录鼠标右键按下
            }
            if (e.Button == MouseButtons.Left)//如果按下鼠标左键
            {
                str += “鼠标左键按下 “;//记录鼠标左键按下
            }
            if (e.Button == MouseButtons.Middle)//如果按下鼠标中间键

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

     文件       8704  2016-12-22 03:38  RecordMouse\RecordMouse\bin\Debug\RecordMouse.exe

     文件      28160  2016-12-22 03:38  RecordMouse\RecordMouse\bin\Debug\RecordMouse.pdb

     文件      14328  2016-12-22 03:38  RecordMouse\RecordMouse\bin\Debug\RecordMouse.vshost.exe

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

     文件       1116  2016-12-21 17:50  RecordMouse\RecordMouse\Frm_Main.cs

     文件       2222  2016-12-21 17:50  RecordMouse\RecordMouse\Frm_Main.designer.cs

     文件       5814  2016-12-21 17:50  RecordMouse\RecordMouse\Frm_Main.resx

     文件       7020  2016-12-22 03:38  RecordMouse\RecordMouse\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       1961  2016-12-22 03:38  RecordMouse\RecordMouse\obj\Debug\RecordMouse.csproj.FileListAbsolute.txt

     文件        850  2016-12-22 03:38  RecordMouse\RecordMouse\obj\Debug\RecordMouse.csproj.GenerateResource.Cache

     文件       8704  2016-12-22 03:38  RecordMouse\RecordMouse\obj\Debug\RecordMouse.exe

     文件        180  2016-12-22 03:38  RecordMouse\RecordMouse\obj\Debug\RecordMouse.Frm_Main.resources

     文件      28160  2016-12-22 03:38  RecordMouse\RecordMouse\obj\Debug\RecordMouse.pdb

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

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

     文件        495  2016-12-21 17:50  RecordMouse\RecordMouse\Program.cs

     文件       1354  2016-12-21 21:18  RecordMouse\RecordMouse\Properties\AssemblyInfo.cs

     文件       2862  2016-12-21 21:18  RecordMouse\RecordMouse\Properties\Resources.Designer.cs

     文件       5612  2016-12-21 21:18  RecordMouse\RecordMouse\Properties\Resources.resx

     文件       1111  2016-12-21 21:18  RecordMouse\RecordMouse\Properties\Settings.Designer.cs

     文件        249  2016-12-21 21:18  RecordMouse\RecordMouse\Properties\Settings.settings

     文件       3991  2016-12-21 17:50  RecordMouse\RecordMouse\RecordMouse.csproj

     文件        923  2016-12-21 16:09  RecordMouse\RecordMouse.sln

     目录          0  2016-12-22 04:18  RecordMouse\RecordMouse\obj\Debug\Refactor

     目录          0  2016-12-22 04:18  RecordMouse\RecordMouse\obj\Debug\TempPE

     目录          0  2016-12-22 03:38  RecordMouse\RecordMouse\bin\Debug

     目录          0  2016-12-22 03:38  RecordMouse\RecordMouse\bin\Release

     目录          0  2016-12-22 04:18  RecordMouse\RecordMouse\obj\Debug

     目录          0  2016-12-22 03:38  RecordMouse\RecordMouse\bin

     目录          0  2016-12-22 03:38  RecordMouse\RecordMouse\obj

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

评论

共有 条评论