The example shows how to add text to List Box from Visual Basic 2010 tool from internal, means from coding.
private void Rbtn2_CheckedChanged(object sender, EventArgs e)
{
ListCategory.Items.Clear();
ListCategory.Items.Add(T2.SoilDescription.ToString());
ListCategory.Items.Add(T2.Group.ToString());
ListCategory.Items.Add(T2.Basin.ToString());
ListCategory.Items.Add(T2.Consideration.ToString());
}
– Description –
ListCategory = name of ListBox
Clear = clear all data before
add = add data for each line

