how can i add an array of a 3 CheckBoxs at the run time in the pocket pc?
i try this:
Code:
CheckBox[] addCheckBox = new CheckBox[3];
Form1 frm = new Form1();
for( int i = 0; i< 3 ; i++) 
            {
                addCheckBox[i] = new CheckBox();
                addCheckBox[i].Text = "hi vbforums";
                frm.Controls.Add(addCheckBox[i]);
                addCheckBox[i] = new CheckBox();
            }
but this wasnt good
any one have any ideas
thanks alot