private void buttonAddAsset_Click(object sender, EventArgs e) { archive.CreateNewAsset(comboBoxLayers.SelectedIndex, out bool success, out uint assetID); if (success) { comboBoxLayers.Items[comboBoxLayers.SelectedIndex] = archive.LayerToString(comboBoxLayers.SelectedIndex); SetSelectedIndices(new List <uint>() { assetID }, true); } }