Ejemplo n.º 1
0
 public void L(global::c.b b)
 {
     if (this.A != b)
     {
         if (this.A != null)
         {
             this.d(this.A);
             this.d(this.A.A());
         }
         this.A = b;
         if (this.A != null)
         {
             this.d(this.A);
             this.d(this.A.A());
         }
     }
 }
Ejemplo n.º 2
0
 public override void c(MouseEventArgs mouseEventArgs)
 {
     this.B = false;
     base.c(mouseEventArgs);
     this.D(mouseEventArgs);
     if (this.A != null)
     {
         if (mouseEventArgs.Button == MouseButtons.Left && mouseEventArgs.Clicks == 1)
         {
             global::c.b b = this.A.L();
             if (!b.A)
             {
                 b.A = true;
                 this.A.L().A(this.A, b.A(), b.A());
                 this.A.L(null);
                 this.A.C();
             }
         }
         return;
     }
     if (!this.A.L().A(this.A))
     {
         if (this.A == null)
         {
             this.A.l();
             if (!this.A && mouseEventArgs.Button == MouseButtons.Left)
             {
                 this.A.L(new Z(this.A, this.B));
                 return;
             }
             if (mouseEventArgs.Button == MouseButtons.Right)
             {
                 this.A(this.A, this.B);
                 return;
             }
         }
         if (this.A)
         {
             if (mouseEventArgs.Button == MouseButtons.Left && A1.A != this.A.A())
             {
                 this.A();
                 A1.A = this.A.L();
                 return;
             }
             if (mouseEventArgs.Button == MouseButtons.Right)
             {
                 this.A(this.A, this.A.L());
             }
         }
         return;
     }
     if (this.A is d.a)
     {
         this.A.L().A().A((d.a) this.A);
     }
     if (this.A.L().a() && mouseEventArgs.Button == MouseButtons.Left && (mouseEventArgs.Clicks == 2 || this.A is D.A))
     {
         this.A(this.A, mouseEventArgs.Clicks == 1);
         return;
     }
     if (mouseEventArgs.Button == MouseButtons.Right && mouseEventArgs.Clicks == 1)
     {
         this.A(this.A, this.B);
         return;
     }
     if (!this.A && mouseEventArgs.Button == MouseButtons.Left && mouseEventArgs.Clicks == 1)
     {
         this.A        = this.A.L().A();
         this.A.Cursor = X.A().A();
     }
     if (this.A is d.a && this.A.L().a())
     {
         this.B = true;
     }
 }