再线等待!!!

解决方案 »

  1.   

    private void xxxx_MouseDown(object sender, MouseEventArgs e)
            {
                if (e.Button == MouseButtons.Right)
                {
                    //模拟左健压下
                   LeftMouseDown();
                }        }        #region 模拟鼠标左击
            [System.Runtime.InteropServices.DllImport("user32")]
            private static extern int mouse_event(int dwFlags, int dx, int dy, int cButtons, int dwExtraInfo);
            private const int MOUSEEVENTF_LEFTDOWN = 0x0002;
            #endregion        public static void LeftMouseDown()
            {
                mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
            }