示例#1
0
        public void method_1()
        {
            Point point2;

            Login login = new Login();

            login.TopLevel = false;
            SlidePanel slidePanel = new SlidePanel();

            slidePanel.Visible = true;
            Point point1 = new Point(0, 25);

            slidePanel.Location = point1;
            slidePanel.Name     = "panelLogin";
            Size size = new Size(707, 417);

            slidePanel.Size          = size;
            slidePanel.TabIndex      = 8;
            slidePanel.AnimationTime = 1000;
            slidePanel.Controls.Add(login);
            slidePanel.SlideOutButtonVisible = false;
            slidePanel.UsesBlockingAnimation = true;
            slidePanel.IsOpen = true;
            login.Show();
            Class1.Class2_0.method_7().Controls.Add(slidePanel);
            Class1.Class2_0.method_7().Refresh();
            GClass6.slidePanel_0 = slidePanel;
            GClass6.GClass12 gclass12 = new GClass6.GClass12();
            gclass12.method_1("buttonLogin");
            gclass12.method_3(slidePanel);
            gclass12.method_9(login);
            GClass6.list_1.Add(gclass12);
        }
示例#2
0
文件: Main.cs 项目: fatrolls/AOBot
 public static void smethod_2(object sender, EventArgs e)
 {
     Main.Class13 class13 = new Main.Class13();
     class13.buttonItem_0 = (ButtonItem)sender;
     if (Operators.CompareString(class13.buttonItem_0.Name, "buttonGrinder", false) == 0)
     {
         GClass6.GClass12 gclass12_3 = Enumerable.FirstOrDefault <GClass6.GClass12>(GClass6.list_1, new Func <GClass6.GClass12, bool>(null, Main.smethod_3));
         gclass12_3.method_4().method_0();
     }
     GClass6.GClass12 gclass12_1   = Enumerable.FirstOrDefault <GClass6.GClass12>(GClass6.list_1, new Func <GClass6.GClass12, bool>(null, Main.smethod_4));
     GClass6.GClass12 gclass12_2   = Enumerable.FirstOrDefault <GClass6.GClass12>(GClass6.list_1, new Func <GClass6.GClass12, bool>(class13, class13.method_0));
     gclass12_1.method_2().IsOpen  = false;
     gclass12_1.method_2().Visible = false;
     gclass12_2.method_2().Visible = true;
     gclass12_2.method_2().IsOpen  = true;
     gclass12_2.method_2().BringToFront();
     gclass12_2.method_2().SlideSide = eSlideSide.Left;
 }
示例#3
0
        public void method_2()
        {
            Point point2;

            GClass6.GClass12 gclass12 = new GClass6.GClass12();
            BotForm          botForm  = new BotForm();

            botForm.TopLevel = false;
            SlidePanel slidePanel = new SlidePanel();

            slidePanel.Visible = false;
            Point point1 = new Point(0, 25);

            slidePanel.Location = point1;
            slidePanel.Name     = "panelGrinder";
            Size size = new Size(707, 417);

            slidePanel.Size          = size;
            slidePanel.TabIndex      = 8;
            slidePanel.AnimationTime = 1000;
            slidePanel.Controls.Add(botForm);
            slidePanel.SlideOutButtonVisible = false;
            slidePanel.UsesBlockingAnimation = false;
            botForm.Show();
            GClass6.slidePanel_1 = slidePanel;
            method_4(slidePanel);
            GClass6.GClass11 gclass11 = method_3(slidePanel);
            gclass12.method_5(gclass11.method_0());
            gclass12.method_7(gclass11.method_2());
            Class1.Class2_0.method_7().Controls.Add(slidePanel);
            slidePanel.IsOpen = false;
            Class1.Class2_0.method_7().Refresh();
            GClass6.slidePanel_0 = slidePanel;
            gclass12.method_1("buttonGrinder");
            gclass12.method_9(botForm);
            gclass12.method_3(slidePanel);
            GClass6.list_1.Add(gclass12);
        }
示例#4
0
文件: Main.cs 项目: fatrolls/AOBot
 private static bool smethod_6(GClass6.GClass12 gclass12_0)
 {
     return(Operators.CompareString(gclass12_0.method_2().Name, "panelGrinder", false) == 0);
 }
示例#5
0
文件: Main.cs 项目: fatrolls/AOBot
 private static bool smethod_4(GClass6.GClass12 gclass12_0)
 {
     return(gclass12_0.method_2().Visible);
 }
示例#6
0
文件: Main.cs 项目: fatrolls/AOBot
 private static bool smethod_3(GClass6.GClass12 gclass12_0)
 {
     return(Operators.CompareString(gclass12_0.method_6().Name, "panelSelectClient", false) == 0);
 }
示例#7
0
文件: Main.cs 项目: fatrolls/AOBot
        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();
        }
示例#8
0
文件: Main.cs 项目: fatrolls/AOBot
 public bool method_0(GClass6.GClass12 gclass12_0)
 {
     return(Operators.CompareString(gclass12_0.method_0(), buttonItem_0.Name, false) == 0);
 }