예제 #1
0
        private void buttonDuplicate_Click(object sender, EventArgs e)
        {
            if (listViewAssets.SelectedItems.Count == 0)
            {
                return;
            }

            archive.DuplicateSelectedAssets(comboBoxLayers.SelectedIndex, out List <uint> finalIndices);

            comboBoxLayers.Items[comboBoxLayers.SelectedIndex] = archive.LayerToString(comboBoxLayers.SelectedIndex);
            SetSelectedIndices(finalIndices, false);
        }