You don't. As mentioned in your other thread on this topic you use the selected index.
Code:
int i = listboxRadStr->SelectedIndex;
switch (i)
{
case -1:
// No item selected
break;
case 0:
// First item selected (1)
break;
case 1:
// Second item selected (2)
break;
...
}
As for adding multiple items, you could use a loop:
Code:
for (int i = 1;i <= 12;i++)
{
listboxRadStr->items->Add(i.ToString());
}
C++ with managed extensions has not been widely adopted and samples are hard to come by, even in the MS documentation. You may want to look into switching to C# for your CLR work.
As I have not used MC++, I can't guarantee that the code I have posted will compile.