Пример #1
0
 private void a(object A_0, WindowMessageEventArgs A_1)
 {
     try
     {
         if ((A_1.get_Msg() == 0x100) && ((A_1.get_LParam() & 0x40000000) == 0))
         {
             u u = (u)A_1.get_WParam();
             if (((u == this.a(c6.a)) || (u == this.a(c6.b))) || (u == this.a(c6.c)))
             {
                 int num = -1;
                 for (int i = 0; i < this.l.Count; i++)
                 {
                     TimeSpan span = (TimeSpan)(DateTimeOffset.Now - this.l[i]);
                     if (span.TotalSeconds <= 2.0)
                     {
                         break;
                     }
                     num = i;
                 }
                 if (num >= 0)
                 {
                     this.l.RemoveRange(0, num + 1);
                 }
                 if (this.l.Count > 0)
                 {
                     this.l.RemoveAt(0);
                 }
                 else
                 {
                     this.k = false;
                 }
             }
         }
     }
     catch (Exception exception)
     {
         ad.a(exception);
     }
 }