Esempio n. 1
0
 // Token: 0x060029A0 RID: 10656 RVA: 0x0009FB88 File Offset: 0x0009DD88
 public static void smethod_7(MouseButtons button)
 {
     using (ManualResetEventSlim manualResetEventSlim = new ManualResetEventSlim(false))
     {
         Class465.smethod_6(button, TimeSpan.Zero, manualResetEventSlim);
     }
 }
Esempio n. 2
0
 // Token: 0x060029A3 RID: 10659 RVA: 0x0001336E File Offset: 0x0001156E
 public static void smethod_10(IntPtr hWnd, Keys Key, WaitHandle[] waitHandle, int delay)
 {
     Class465.smethod_13(hWnd, Key);
     if (delay > 0)
     {
         WaitHandle.WaitAny(waitHandle, delay);
     }
     Class465.smethod_14(hWnd, Key);
 }
Esempio n. 3
0
 // Token: 0x060029A5 RID: 10661 RVA: 0x000133BE File Offset: 0x000115BE
 public static void smethod_12(IntPtr hWnd, Keys Key, ManualResetEventSlim reset, TimeSpan delay)
 {
     if (!reset.IsSet)
     {
         Class465.smethod_13(hWnd, Key);
     }
     if (!reset.IsSet && delay > TimeSpan.Zero)
     {
         reset.Wait(delay);
     }
     if (!reset.IsSet)
     {
         Class465.smethod_14(hWnd, Key);
     }
 }
Esempio n. 4
0
 // Token: 0x060029A4 RID: 10660 RVA: 0x0001338A File Offset: 0x0001158A
 public static void smethod_11(IntPtr hWnd, Keys Key, ManualResetEventSlim reset, int delay)
 {
     if (!reset.IsSet)
     {
         Class465.smethod_13(hWnd, Key);
     }
     if (!reset.IsSet && delay > 0)
     {
         reset.Wait(delay);
     }
     if (!reset.IsSet)
     {
         Class465.smethod_14(hWnd, Key);
     }
 }
Esempio n. 5
0
 // Token: 0x0600299F RID: 10655 RVA: 0x00013310 File Offset: 0x00011510
 public static void smethod_6(MouseButtons button, TimeSpan delay, ManualResetEventSlim reset)
 {
     if (!reset.IsSet)
     {
         Class465.smethod_1(button);
     }
     if (!reset.IsSet && delay > TimeSpan.Zero)
     {
         reset.Wait(delay);
     }
     if (!reset.IsSet)
     {
         Class465.smethod_2(button);
     }
 }
Esempio n. 6
0
 // Token: 0x0600299E RID: 10654 RVA: 0x0009FAE8 File Offset: 0x0009DCE8
 public static void smethod_5(Rectangle window_bounds, Point p)
 {
     if (p.X < 0)
     {
         p.X = 0;
     }
     if (p.Y < 0)
     {
         p.Y = 0;
     }
     if (p.X > window_bounds.Width)
     {
         p.X = window_bounds.Width;
     }
     if (p.Y > window_bounds.Height)
     {
         p.Y = window_bounds.Height;
     }
     p.X += window_bounds.X;
     p.Y += window_bounds.Y;
     Class465.smethod_3(p);
 }
Esempio n. 7
0
        // Token: 0x0600299D RID: 10653 RVA: 0x0009FA44 File Offset: 0x0009DC44
        public static void smethod_4(IntPtr hWnd, Point p)
        {
            Rectangle rectangle = Class410.smethod_16(hWnd);

            if (p.X < 0)
            {
                p.X = 0;
            }
            if (p.Y < 0)
            {
                p.Y = 0;
            }
            if (p.X > rectangle.Width)
            {
                p.X = rectangle.Width;
            }
            if (p.Y > rectangle.Height)
            {
                p.Y = rectangle.Height;
            }
            p.X += rectangle.X;
            p.Y += rectangle.Y;
            Class465.smethod_3(p);
        }
Esempio n. 8
0
 // Token: 0x060029A2 RID: 10658 RVA: 0x0001335E File Offset: 0x0001155E
 public static void smethod_9(IntPtr hWnd, Keys Key)
 {
     Class465.smethod_13(hWnd, Key);
     Class465.smethod_14(hWnd, Key);
 }
Esempio n. 9
0
 // Token: 0x060029A1 RID: 10657 RVA: 0x0001334B File Offset: 0x0001154B
 public static void smethod_8(MouseButtons button, int delay, ManualResetEventSlim reset)
 {
     Class465.smethod_6(button, new TimeSpan(0, 0, 0, 0, delay), reset);
 }