void RemoveItemFromSet_Click(object sender, EventArgs e) { ListBox list = this.Parent.Controls[_group_list] as ListBox; if (list != null) { MyListBox.RemoveSelected(list); } }