Ejemplo n.º 1
0
        public void method_0(object sender, EventArgs e)
        {
            Color color;
            IEnumerator <GClass6.GClass13> ienumerator;
            MetroColorGeneratorParameters  metroColorGeneratorParameters2;

            ColorPickerDropDown           colorPickerDropDown            = (ColorPickerDropDown)sender;
            MetroColorGeneratorParameters metroColorGeneratorParameters1 = new MetroColorGeneratorParameters(Color.Black, colorPickerDropDown.SelectedColor);

            vmethod_18().MetroColorParameters = metroColorGeneratorParameters1;
            vmethod_18().ManagerColorTint     = colorPickerDropDown.SelectedColor;
            GClass6.GClass12 gclass12_1 = Enumerable.FirstOrDefault <GClass6.GClass12>(GClass6.list_1, new Func <GClass6.GClass12, bool>(null, Main.smethod_5));
            if (gclass12_1 != null)
            {
                Login login = (Login)gclass12_1.method_8();
                login.vmethod_66().BackgroundStyle.BackColor = colorPickerDropDown.SelectedColor;
                login.vmethod_40().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
            }
            GClass6.GClass12 gclass12_2 = Enumerable.FirstOrDefault <GClass6.GClass12>(GClass6.list_1, new Func <GClass6.GClass12, bool>(null, Main.smethod_6));
            if (gclass12_2 != null)
            {
                BotForm botForm = (BotForm)gclass12_2.method_8();
                botForm.vmethod_0().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
            }
            IEnumerable <GClass6.GClass13> ienumerable = Enumerable.Where <GClass6.GClass13>(GClass6.list_2, new Func <GClass6.GClass13, bool>(null, Main.smethod_7));

            try
            {
                ienumerator = ienumerable.GetEnumerator();
                while (ienumerator.MoveNext())
                {
                    GClass6.GClass13 gclass13 = ienumerator.get_Current();
                    gclass13.method_6().vmethod_26().BackColor = colorPickerDropDown.SelectedColor;
                    gclass13.method_2().TitleStyle.BackColor1.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_2().TitleStyle.BackColor2.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_2().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_2().TitleStyle.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_314().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_448().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_424().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_354().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_550().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_542().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_518().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_498().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_488().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_576().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_612().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_632().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_642().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_660().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_678().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_698().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_688().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_680().Border.BorderLeftColor = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_680().Border.BorderRightColor = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_690().Border.BorderLeftColor = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_690().Border.BorderRightColor = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_638().Border.BorderLeftColor = colorPickerDropDown.SelectedColor;
                    gclass13.method_8().vmethod_638().Border.BorderRightColor = colorPickerDropDown.SelectedColor;
                    gclass13.method_18().vmethod_16().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                    gclass13.method_18().vmethod_4().Style.BorderColor.Color = colorPickerDropDown.SelectedColor;
                }
            }
            finally
            {
                if (ienumerator != null)
                {
                    ienumerator.Dispose();
                }
            }
            Refresh();
        }