Ejemplo n.º 1
0
 public override void m000358(c000069 p0)
 {
     base.m000358(p0);
     for (int i = this.f000078.Count - 1; i > -1; i--)
     {
         if (!this.m0001fb(this.f000078[i]))
         {
             this.f000078.RemoveAt(i);
         }
     }
     if ((this.m000391() && ((p0.m00002c() != 0f) || (p0.m000038() != 0f))) && (p0.f00086d == this))
     {
         this.m0000a8(this);
     }
     if (!((this.m0003c8() != ToolTipOption.f000159) || base.f000029.m0001a5(this.f000017)))
     {
         c000112 c = this.m0002c7();
         if (c != null)
         {
             c000070.m00007f(c.m000084());
         }
     }
     if ((p0.m00003a() != 0f) && (this.f000017 != null))
     {
         if (p0.m00003a() > 0f)
         {
             this.f000017.f00002a.m000001();
         }
         else
         {
             this.f000017.f0000bf.m000001();
         }
     }
     if (((base.f000029.f0000a1 && (c000070.m00004f() != null)) && (c000070.m00004f().m0000bd() != this)) && (this.f000059 != null))
     {
         this.f000059(this);
     }
     int num2 = this.m0002d5();
     if ((this.f00000b + this.m0000f0()) > num2)
     {
         this.f00000b = num2 - this.m0000f0();
     }
     if (this.f00000b < 0)
     {
         this.f00000b = 0;
     }
     this.m0003e1();
 }
Ejemplo n.º 2
0
 protected void m000365(c000069 p0)
 {
     if (!this.m000357())
     {
         int num4;
         p0.f00086d = this;
         bool flag = false;
         if (this.m000190())
         {
             if (this.f00002c != null)
             {
                 float num = this.f00002c.m000179() - this.f00002c.m00008f();
                 float num2 = this.f00002c.m000178() + this.f00002c.m00008e();
                 float num3 = 20f / c000052.m00009f().m00035e(this.f00002c.m00017a());
                 if ((Math.Abs((float) (p0.m00035e(this.f00002c.m00017a()) - num2)) < num3) && (Math.Abs((float) (p0.m000361(this.f00002c.m00017a()) - num)) < num3))
                 {
                     flag = true;
                 }
             }
             else if ((((this.f0000a8 + this.f000031) - (p0.m000024() + p0.f000033)) < 1f) && (((p0.m000028() + p0.f000035) - (this.f0000a9 - this.f000033)) < 1f))
             {
                 flag = true;
             }
         }
         for (num4 = this.f000090.Count - 1; num4 > -1; num4--)
         {
             if (this.f000090[num4].m00018f() && this.f000090[num4].m00000c())
             {
                 if (this.f000090[num4].f00016d)
                 {
                     if (p0.m00038e(this.f000090[num4]))
                     {
                         this.f000090[num4].m000358(p0);
                     }
                 }
                 else if (p0.m000234(this.f000090[num4].f00002c.f000038))
                 {
                     this.f000090[num4].m000358(p0);
                 }
                 if (p0.f00086d != this)
                 {
                     if ((p0.f00086d == this.f00002a) && p0.f0000a1)
                     {
                         p0.f00086e = this;
                         this.m0000b1();
                     }
                     return;
                 }
             }
         }
         for (num4 = 0; num4 < this.f00002b.Count; num4++)
         {
             if (this.f00002b[num4].m00018f() && this.f00002b[num4].m00000c())
             {
                 bool flag2 = false;
                 if (this.f00002b[num4].f00016d)
                 {
                     if (p0.m00038e(this.f00002b[num4]))
                     {
                         this.f00002b[num4].m000358(p0);
                         flag2 = true;
                     }
                 }
                 else if (p0.m00038f<c00006c>(this.f00002b[num4].f00002c))
                 {
                     this.f00002b[num4].m000358(p0);
                     flag2 = true;
                 }
                 if (flag2)
                 {
                     if ((p0.f00086d == this.f00002a) && p0.f0000a1)
                     {
                         p0.f00086e = this;
                         this.m0000b1();
                     }
                     return;
                 }
             }
         }
         p0.m000097(this);
         if (p0.f000056)
         {
             p0.f000866 = enum079.f000005;
             p0.m0000a5(this);
             if (this.m000384(p0))
             {
                 p0.m0000a7(this);
             }
             if (flag)
             {
                 p0.f000866 = enum079.f000072;
             }
             if (this.f000205 != null)
             {
                 this.f000205(this);
             }
         }
         if (p0.f0000a1 && (p0.m0000bd() == this))
         {
             this.m000001();
             if (p0.f0000a2 && (this.f000208 != null))
             {
                 this.f000208(this);
             }
         }
         if (p0.f00016d)
         {
             p0.f000052 = this;
         }
         if (p0.m00000c())
         {
             p0.m0000a6(this);
         }
         if (p0.f000848 && (p0.f000052 == this))
         {
             if (this.f000204 != null)
             {
                 this.f000204(this);
             }
             p0.f000052 = null;
         }
         if (p0.m00018e() && (p0.m000389() == this))
         {
             p0.m0000a6(null);
         }
         if ((p0.m00003a() != 0f) && (this.f000865 != null))
         {
             this.f000865(this);
         }
         if (((p0.f0000a0 && (p0.m0000bd() == this)) && ((p0.m00002c() != 0f) || (p0.m000038() != 0f))) && (this.f00085e != null))
         {
             this.f00085e(this);
         }
         if (flag)
         {
             Cursor.Current = Cursors.SizeNWSE;
         }
         if (this.f000207 != null)
         {
             this.f000207(this);
         }
         if (((p0.m00002c() != 0f) || (p0.m000038() != 0f)) && (this.f000864 != null))
         {
             this.f000864(this);
         }
     }
 }