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

资源简介

控制滑鼠移動, 點一下, 連點兩下, 拖曳

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Threading;
using System.Runtime.InteropServices;

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

        private void button1_Click(object sender EventArgs e)
        {
            Thread.Sleep(500);
            Mouse.MoveTo(tX1.Text tY1.Text);
        }

        private void button4_Click(object sender EventArgs e)
        {
            Thread.Sleep(500);
            Mouse.MoveTo(tX1.Text tY1.Text);
            Mouse.LeftClick();
        }

        private void button2_Click(obje

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2009-12-24 15:46  MouseControl\
     目录           0  2009-12-24 15:46  MouseControl\MouseControl\
     目录           0  2009-12-24 15:46  MouseControl\MouseControl\Properties\
     文件        1193  2009-12-24 14:28  MouseControl\MouseControl\Properties\AssemblyInfo.cs
     文件        5612  2009-12-24 14:28  MouseControl\MouseControl\Properties\Resources.resx
     文件        2910  2009-12-24 14:28  MouseControl\MouseControl\Properties\Resources.Designer.cs
     文件         249  2009-12-24 14:28  MouseControl\MouseControl\Properties\Settings.settings
     文件        1097  2009-12-24 14:28  MouseControl\MouseControl\Properties\Settings.Designer.cs
     文件        5317  2009-12-24 15:38  MouseControl\MouseControl\Form1.cs
     文件        8566  2009-12-24 14:58  MouseControl\MouseControl\Form1.Designer.cs
     文件        6008  2009-12-24 14:58  MouseControl\MouseControl\Form1.resx
     文件         474  2009-12-24 14:28  MouseControl\MouseControl\Program.cs
     文件        3231  2009-12-24 15:46  MouseControl\MouseControl\MouseControl.csproj
     文件         925  2009-12-24 15:46  MouseControl\MouseControl.sln
     文件        9216  2009-12-24 15:46  MouseControl\MouseControl.suo

评论

共有 条评论