arraylist

Jun 19, 2014 at 9:39 PM
is possibel make a array list of the label ,button and grouppanel
i try to make but i can´t
this is my code
group[1].Top = 660;
    group[1].Left = pnlRes.Top + 60;
    group[1].Width = 100;
    NeoManager.Add(group[1]);
    btnFirst[1] = new Button(NeoManager);
    btnFirst[1].Init();
    btnFirst[1].Parent = group[1];
    btnFirst[1].Anchor = Anchors.Left | Anchors.Top | Anchors.Right;
    btnFirst[1].Top = 660;
    btnFirst[1].Left = pnlRes.Top + 60 ;
    btnFirst[1].Width = 100;
    btnFirst[1].Text = "";
    NeoManager.Add(btnFirst[1]);
    nome[1] = new Label(NeoManager);
    nome[1].Init();
    nome[1].Parent = group[1];
    nome[1].Anchor = Anchors.Left | Anchors.Top | Anchors.Right;
    nome[1].Top = 680;
    nome[1].Left = pnlRes.Top + 60;
    nome[1].Width = 100;
    nome[1].Height = 25;
    nome[1].Text = "PDS\n"+"24";
    nome[1].BackColor = new Color(1, 1, 60);
    NeoManager.Add(nome[1]);