private void DoMouseHandle() { if (isMouseDownIndex) { MyMouseEventHandle.DoLeftMouseDownWithPosition(ref posList); return; } if (isMouseWheelDownIndex) { MyMouseEventHandle.DoWheelDownMove(); return; } MyMouseEventHandle.DoLeftMouseSingleClickWithPostions(ref posList); }
public void repeatCycleIfNecessary() { if (repeatCycleIndex > timeoutClickCount) { if (FileInfoConst.longTimeImgIndexList.Contains(currentImgIndex)) { Point imgPos = new Point(0, 0); LaunchCommandLineApp(FileInfoConst.cancelDownloadImg); System.Threading.Thread.Sleep(500); imgPos = ReadImgPosFile(FileInfoConst.imgPosFile); posList.Add(imgPos); MyMouseEventHandle.DoLeftMouseSingleClickWithPostions(ref posList); } ResetARound(); //WriteResult(false); } repeatCycleIndex++; }