Ejemplo n.º 1
0
    private void a(d8 A_0)
    {
        fl a = A_0.a;
        b3 b = A_0.b;

        this.g = A_0;
        this.e = true;
        this.f = new HudView("Virindi Tank Edit Meta Rule", 0x264, 0x1a2, new ACImage());
        this.f.set_UserMinimizable(false);
        this.f.set_UserGhostable(false);
        this.f.LoadUserSettings();
        this.h = new HudFixedLayout();
        this.f.get_Controls().set_HeadControl(this.h);
        HudButton button = new HudButton();

        this.h.AddControl(button, new Rectangle(4, 0x18e, 0x40, 0x10));
        button.set_Text("Close");
        this.l = new HudCombo(this.f.get_Controls());
        this.m = new HudCombo(this.f.get_Controls());
        this.h.AddControl(this.l, new Rectangle(4, 4, 300, 0x10));
        this.h.AddControl(this.m, new Rectangle(0x134, 4, 300, 0x10));
        this.b();
        this.k = new HudCombo(this.f.get_Controls());
        this.h.AddControl(this.k, new Rectangle(4, 0x18, 0x94, 0x10));
        this.k.add_Change(new EventHandler(this.e));
        this.a();
        HudButton button2 = new HudButton();

        this.h.AddControl(button2, new Rectangle(0x9c, 0x18, 0x94, 0x10));
        button2.set_Text("New State...");
        button2.add_Hit(new EventHandler(this.d));
        this.h.AddControl(this.d(), new Rectangle(3, 0x2b, 1, 0x161));
        this.h.AddControl(this.c(), new Rectangle(4, 0x2b, 0x12d, 1));
        this.h.AddControl(this.c(), new Rectangle(4, 0x18b, 0x12d, 1));
        this.h.AddControl(this.d(), new Rectangle(0x131, 0x2b, 1, 0x161));
        this.h.AddControl(this.d(), new Rectangle(0x261, 0x2b, 1, 0x161));
        this.h.AddControl(this.d(), new Rectangle(0x133, 0x2b, 1, 0x161));
        this.h.AddControl(this.c(), new Rectangle(0x134, 0x2b, 0x12d, 1));
        this.h.AddControl(this.c(), new Rectangle(0x134, 0x18b, 0x12d, 1));
        this.i = new HudFixedLayout();
        this.j = new HudFixedLayout();
        this.h.AddControl(this.i, new Rectangle(4, 0x2c, 300, 350));
        this.h.AddControl(this.j, new Rectangle(0x134, 0x2c, 300, 350));
        a.j(this.i);
        b.j(this.j);
        button.add_Hit(new EventHandler(this.a));
        this.l.add_Change(new EventHandler(this.c));
        this.m.add_Change(new EventHandler(this.b));
        this.f.set_Visible(true);
    }
Ejemplo n.º 2
0
    private void c(object A_0, EventArgs A_1)
    {
        if (this.e != null)
        {
            this.e.Dispose();
        }
        fl a = this.a;

        this.e = new HudView("Edit " + b6.a((b1)a), 300, 0x176, new ACImage(Color.Red));
        this.e.set_UserMinimizable(false);
        this.e.set_UserGhostable(false);
        this.e.LoadUserSettings();
        this.e.set_Visible(true);
        this.f = new HudFixedLayout();
        this.e.get_Controls().set_HeadControl(this.f);
        HudButton button = new HudButton();

        this.f.AddControl(button, new Rectangle(4, 0x162, 150, 0x10));
        button.set_Text("Close");
        button.add_Hit(new EventHandler(this.b));
        this.g = new HudFixedLayout();
        this.f.AddControl(this.g, new Rectangle(0, 0, 300, 350));
        a.j(this.g);
    }