// Token: 0x06001D72 RID: 7538 RVA: 0x0005EE28 File Offset: 0x0005D028
 private static bool smethod_10(IntPtr hWnd, ref Class269.Enum58 direction, WaitHandle[] waitHandles, float minimum_h)
 {
     Class269.smethod_14(hWnd, ref direction);
     if ((double)minimum_h < 1.3)
     {
         Class269.smethod_13(hWnd, waitHandles, 15);
         return(false);
     }
     if ((double)minimum_h < 2.6)
     {
         Class269.smethod_13(hWnd, waitHandles, 30);
         return(false);
     }
     if ((double)minimum_h < 5.2)
     {
         Class269.smethod_13(hWnd, waitHandles, 60);
         return(false);
     }
     if ((double)minimum_h < 10.4)
     {
         Class269.smethod_13(hWnd, waitHandles, 120);
         return(false);
     }
     Class465.smethod_13(hWnd, Keys.Right);
     direction |= Class269.Enum58.flag_2;
     return(true);
 }
 // Token: 0x06001D78 RID: 7544 RVA: 0x0000B13D File Offset: 0x0000933D
 private static void smethod_16(IntPtr hWnd, ref Class269.Enum58 direction)
 {
     if (direction.HasFlag(Class269.Enum58.flag_3))
     {
         Class465.smethod_14(hWnd, Keys.Up);
         direction &= ~Class269.Enum58.flag_3;
     }
 }
Пример #3
0
            // Token: 0x06001A35 RID: 6709 RVA: 0x0004CF40 File Offset: 0x0004B140
            private void timer_1_Elapsed(object sender, EventArgs e)
            {
                Class205.Class127 @class   = Interlocked.CompareExchange <Class205.Class127>(ref Class205.Class127.class127_0, this, null);
                Point             position = Cursor.Position;

                if (@class == this && position == this.point_0)
                {
                    int       num         = Class124.Instance.method_6(0, 4);
                    Rectangle workingArea = Screen.FromPoint(position).WorkingArea;
                    switch (num)
                    {
                    case 0:
                        break;

                    case 1:
                        goto IL_75;

                    case 2:
                        goto IL_BD;

                    case 3:
                        goto IL_CF;

                    default:
                        goto IL_115;
                    }
IL_63:
                    if (position.X != workingArea.Left)
                    {
                        Class465.smethod_3(new Point(position.X - 1, position.Y));
                        goto IL_115;
                    }
IL_75:
                    if (position.X != workingArea.Right)
                    {
                        Class465.smethod_3(new Point(position.X + 1, position.Y));
                        goto IL_115;
                    }
                    goto IL_63;
IL_BD:
                    if (position.Y != workingArea.Top)
                    {
                        Class465.smethod_3(new Point(position.X, position.Y - 1));
                        goto IL_115;
                    }
IL_CF:
                    if (position.Y == workingArea.Bottom)
                    {
                        goto IL_BD;
                    }
                    Class465.smethod_3(new Point(position.X, position.Y + 1));
                }
IL_115:
                this.point_0 = Cursor.Position;
            }
Пример #4
0
 // Token: 0x06001A39 RID: 6713 RVA: 0x0004D1D0 File Offset: 0x0004B3D0
 private void method_8()
 {
     if (this.class87_0.KeyToPress == Keys.Control)
     {
         Class265.PostMessage(this.intptr_0, Enum16.const_89, 17, 0);
         return;
     }
     if (this.class87_0.KeyToPress != Keys.None)
     {
         Class465.smethod_14(this.intptr_0, this.class87_0.KeyToPress);
     }
 }
Пример #5
0
 internal Class401(Class928 A_0, Document A_1, Class399 A_2, Class465 A_3)
 {
     this.hashtable_0 = new Hashtable();
     this.int_0       = 1;
     this.class928_0  = A_0;
     this.document_0  = A_1;
     this.class399_0  = A_2;
     this.class465_0  = A_3;
     if (A_3 == null)
     {
         this.class800_0 = new Class800(this.document_0.Styles);
     }
 }
 // Token: 0x06001D73 RID: 7539 RVA: 0x0005EEAC File Offset: 0x0005D0AC
 private static bool smethod_11(IntPtr hWnd, ref Class269.Enum58 direction, WaitHandle[] waitHandles, float minimum_distance)
 {
     if (minimum_distance < 0.25f)
     {
         Class269.smethod_17(hWnd, ref direction, waitHandles, 20);
         return(false);
     }
     if (minimum_distance < 1f)
     {
         Class269.smethod_17(hWnd, ref direction, waitHandles, 40);
         return(false);
     }
     if (minimum_distance < 2f)
     {
         Class269.smethod_17(hWnd, ref direction, waitHandles, 80);
         return(false);
     }
     Class465.smethod_13(hWnd, Keys.Up);
     direction |= Class269.Enum58.flag_3;
     return(true);
 }
 public abstract void Visit(Class465 c);
 public override void Visit(Class465 c) { }
 // Token: 0x0600179E RID: 6046 RVA: 0x0000755A File Offset: 0x0000575A
 protected void method_18(Class104 settings)
 {
     Class465.smethod_8(MouseButtons.Left, settings.ButtonClickDelay, this.manualResetEventSlim_0);
 }
 // Token: 0x06001799 RID: 6041 RVA: 0x000074DE File Offset: 0x000056DE
 protected void method_13(Rectangle window_bounds, Point p)
 {
     Class465.smethod_5(window_bounds, p);
 }
 // Token: 0x06001D7C RID: 7548 RVA: 0x0000B185 File Offset: 0x00009385
 public static void smethod_20(IntPtr hWnd, ManualResetEventSlim waitHandle)
 {
     Class465.smethod_13(hWnd, Keys.ShiftKey);
     Class465.smethod_11(hWnd, Keys.F1, waitHandle, 10);
     Class465.smethod_14(hWnd, Keys.ShiftKey);
 }
 // Token: 0x06001D7B RID: 7547 RVA: 0x0000B17B File Offset: 0x0000937B
 private static void smethod_19(IntPtr hWnd)
 {
     Class465.smethod_14(hWnd, Keys.ControlKey);
 }
 // Token: 0x06001D79 RID: 7545 RVA: 0x0000B162 File Offset: 0x00009362
 private static void smethod_17(IntPtr hWnd, ref Class269.Enum58 direction, WaitHandle[] waitHandles, int time)
 {
     Class465.smethod_10(hWnd, Keys.Up, waitHandles, time);
 }
 // Token: 0x06001D75 RID: 7541 RVA: 0x0000B0E7 File Offset: 0x000092E7
 private static void smethod_13(IntPtr hWnd, WaitHandle[] waitHandles, int time)
 {
     Class465.smethod_10(hWnd, Keys.Right, waitHandles, time);
 }
Пример #15
0
 internal Class685(Class1092 A_0, Document A_1, Class465 A_2) : this(A_0, A_1)
 {
     this.class465_0 = A_2;
 }
Пример #16
0
 internal Class685(Stream A_0, Document A_1, Class465 A_2) : this(A_0, A_1)
 {
     this.class465_0 = A_2;
 }
 // Token: 0x06001D7A RID: 7546 RVA: 0x0000B16E File Offset: 0x0000936E
 private static void smethod_18(IntPtr hWnd, WaitHandle[] waitHandles)
 {
     Class465.smethod_10(hWnd, Keys.ControlKey, waitHandles, 10);
 }