private void initialiseSTTsListBox() { // need handle on events in the list foreach (FSM_STT item in FSM_STT.getInstanceList().Values) { string refClassName = item.getRefClassName(); this.listOfSTTsListBox.Items.Add(refClassName); this.listBox1.Items.Add(refClassName); this.listBox2.Items.Add(refClassName); } }