private void PlacedObjectListBox_SelectedIndexChanged(object sender, EventArgs e) { int selected = PlacedObjectListBox.SelectedIndex; ObjectListBox.ClearSelected(); PlacedObjectListBox.SelectedIndex = selected; selectedItem = SI.Placed; }
private void LayerListBox_SelectedIndexChanged(object sender, EventArgs e) { ObjectListBox.ClearSelected(); }