1. Try this until I stay on a pc has Visual Studio
List<BurstKlasse> Burst = new List<BurstKlasse>();
Burst.Add(new BurstKlasse(lengte,CPU_Burst));
void AddIntoList(ListBox list, List<Burst> items)
{
//clear the list
list.Item.Clear();
//fill it
foreach(Burst b in items.ToArray())
{
list.items.Add(b);
}
}
Tip:
<strong>To show Brust objects in a nice way (their names, their names and their values, etc) you must override its ToString method</strong> 2.
In button click handler:
[radiobutton].Checked = false;
3.String PNaam = textBox3.Text.ToString(); don't use ToString you don't need it!
Say when user selects an item in the comboBox and presses on a button calledMoveToList the item moves.
So in MoveToList button click event handler you need to get the item selected in the combobox and add it to the list so
comboBox.items.Add(list.SelectedItem);
//you can remove the item from the comboBox after that
comboBox.items.Remove(comboBox.SelectedItem);
P.S: I don't have VS right now I am just writting code and I hope I didn't do a lot of mistakes and I wish I could help you!