Esempio n. 1
0
 protected override void OnPaint(PaintEventArgs e)
 {
     if (!base.Enabled)
     {
         Color[] array = Control1.smethod_1(new Color[]
         {
             this.color_0,
             this.color_1,
             this.color_2,
             this.bool_0 ? this.color_6 : this.color_3,
             this.bool_0 ? this.color_7 : this.color_4,
             this.color_5,
             this.bool_0 ? this.color_3 : this.color_6,
             this.bool_0 ? this.color_4 : this.color_7
         });
         this.method_22(e, array[0], array[1], array[2], array[3], array[4], array[5], array[6], array[7]);
         return;
     }
     if (this.bool_4 && this.bool_6)
     {
         Color[] array2 = Control1.smethod_2(new Color[]
         {
             this.color_0,
             this.color_1,
             this.color_2,
             this.bool_0 ? this.color_6 : this.color_3,
             this.bool_0 ? this.color_7 : this.color_4,
             this.color_5,
             this.bool_0 ? this.color_3 : this.color_6,
             this.bool_0 ? this.color_4 : this.color_7
         });
         this.method_22(e, array2[0], array2[1], array2[2], array2[3], array2[4], array2[5], array2[6], array2[7]);
         return;
     }
     this.method_22(e, this.color_0, this.color_1, this.color_2, this.bool_0 ? this.color_6 : this.color_3, this.bool_0 ? this.color_7 : this.color_4, this.color_5, this.bool_0 ? this.color_3 : this.color_6, this.bool_0 ? this.color_4 : this.color_7);
 }