示例#1
0
 private void DoMouseHandle()
 {
     if (isMouseDownIndex)
     {
         MyMouseEventHandle.DoLeftMouseDownWithPosition(ref posList);
         return;
     }
     if (isMouseWheelDownIndex)
     {
         MyMouseEventHandle.DoWheelDownMove();
         return;
     }
     MyMouseEventHandle.DoLeftMouseSingleClickWithPostions(ref posList);
 }
示例#2
0
 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++;
 }