Exemple #1
0
 private static string a(b1 A_0)
 {
     if (A_0 == null)
     {
         return("");
     }
     return(MultipleBase <T> .a(A_0.b()) + " > " + A_0.g());
 }
Exemple #2
0
        private void a(object A_0, int A_1, int A_2)
        {
            if ((A_1 >= 0) && (A_1 < this.a.Count))
            {
                switch (A_2)
                {
                case 0:
                    this.a.RemoveAt(A_1);
                    this.a();
                    [email protected]();
                    if (this.h != null)
                    {
                        this.h.c();
                    }
                    return;

                case 1:
                {
                    if (this.b != null)
                    {
                        this.b.Dispose();
                    }
                    T local = this.a[A_1];
                    this.b = new HudView("Edit " + MultipleBase <T> .a((b1)local), 300, 0x176, new ACImage(Color.Red));
                    this.b.set_UserMinimizable(false);
                    this.b.set_UserGhostable(false);
                    this.b.LoadUserSettings();
                    this.b.set_Visible(true);
                    this.d = new HudFixedLayout();
                    this.b.get_Controls().set_HeadControl(this.d);
                    HudButton button = new HudButton();
                    this.d.AddControl(button, new Rectangle(4, 0x162, 150, 0x10));
                    button.set_Text("Close");
                    button.add_Hit(new EventHandler(this.a));
                    this.e = new HudFixedLayout();
                    this.d.AddControl(this.e, new Rectangle(0, 0, 300, 350));
                    local.j(this.e);
                    return;
                }
                }
            }
        }