public static void smethod_0(object sender, EventArgs e) { BotForm.Class6 class6 = new BotForm.Class6(); class6.panelExTitle_0 = (PanelExTitle)sender; GClass6.GClass13 gclass13_3 = Enumerable.FirstOrDefault <GClass6.GClass13>(GClass6.list_2, new Func <GClass6.GClass13, bool>(class6, class6.method_0)); GClass6.GClass13 gclass13_2 = Enumerable.FirstOrDefault <GClass6.GClass13>(GClass6.list_2, new Func <GClass6.GClass13, bool>(class6, class6.method_1)); if ((gclass13_2 != null) && (Operators.CompareString(gclass13_3.method_2().TitlePanel.Text, gclass13_2.method_2().TitlePanel.Text, false) != 0)) { BotForm.smethod_1(gclass13_2); } GClass6.GClass13 gclass13_1 = Enumerable.FirstOrDefault <GClass6.GClass13>(GClass6.list_2, new Func <GClass6.GClass13, bool>(class6, class6.method_2)); if (gclass13_1.method_4().IsOpen) { return; } if ((BotForm.slidePanel_0.IsOpen | BotForm.slidePanel_1.IsOpen)) { if (BotForm.slidePanel_0.IsOpen) { BotForm.slidePanel_0.Visible = false; BotForm.slidePanel_0.IsOpen = false; gclass13_1.method_4().Visible = true; gclass13_1.method_4().IsOpen = true; } if (BotForm.slidePanel_1.IsOpen) { BotForm.slidePanel_1.Visible = false; BotForm.slidePanel_1.IsOpen = false; gclass13_1.method_4().Visible = true; gclass13_1.method_4().IsOpen = true; } } else { GClass6.GClass13 gclass13_4 = Enumerable.FirstOrDefault <GClass6.GClass13>(GClass6.list_2, new Func <GClass6.GClass13, bool>(null, BotForm.smethod_3)); if (gclass13_4 != null) { gclass13_4.method_4().Visible = false; gclass13_4.method_4().IsOpen = false; gclass13_1.method_4().Visible = true; gclass13_1.method_4().IsOpen = true; } else { gclass13_1.method_4().Visible = true; gclass13_1.method_4().IsOpen = true; } } }
public static void smethod_1(GClass6.GClass13 gclass13_0) { gclass13_0.method_2().Expanded = false; }
public bool method_1(GClass6.GClass13 gclass13_0) { return(gclass13_0.method_2().Expanded & (Operators.CompareString(gclass13_0.method_2().TitlePanel.Text, panelExTitle_0.Text, false) != 0)); }
public bool method_0(GClass6.GClass13 gclass13_0) { return(Operators.CompareString(gclass13_0.method_2().TitlePanel.Text, panelExTitle_0.Text, false) == 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(); }