Example #1
0
        /// <summary>
        /// 测试.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnTest_Click(object sender, EventArgs e)
        {
            MyMouseEvent myMouseEvent = new MyMouseEvent();

            // 绝对地址移动.
            myMouseEvent.AbsoluteMove(200, 200);

            // 绝对地址鼠标右键点击.
            myMouseEvent.AbsoluteRightClick(200, 200);
        }
Example #2
0
        /// <summary>
        /// 测试.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnTest_Click(object sender, EventArgs e)
        {
            MyMouseEvent myMouseEvent = new MyMouseEvent();

            // 绝对地址移动.
            myMouseEvent.AbsoluteMove(200, 200);



            // 绝对地址鼠标右键点击.
            myMouseEvent.AbsoluteRightClick(200, 200);
        }