本文实例讲述了C#模拟window操作鼠标的方法。分享给大家供大家参考。具体实现方法如下:
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace winapi
{
class Program
{
[DllImport(user32.dll, EntryPoint = mouse_event, SetLastError = true)]
private static extern int