private void btnAdd_Click(object sender, EventArgs e)
        {
            frmNPCCharacterEquipmentsEditor characterEquipmentsEditor = new frmNPCCharacterEquipmentsEditor();

            if (characterEquipmentsEditor.ShowDialog() == DialogResult.OK)
            {
                MBNPCCharacterEquipmentSet equipmentSet = new MBNPCCharacterEquipmentSet();
                equipmentSet.Equipments = characterEquipmentsEditor.Equipments;
                equipmentSets.Add(equipmentSet);
                RefreshData();
            }
        }
        private void btnEdit_Click(object sender, EventArgs e)
        {
            int selectedIndex = equipmentSetList.SelectedIndex;
            frmNPCCharacterEquipmentsEditor characterEquipmentsEditor = new frmNPCCharacterEquipmentsEditor(false, equipmentSets[selectedIndex].Equipments, equipmentSets[selectedIndex].IsCivilian);

            if (characterEquipmentsEditor.ShowDialog() == DialogResult.OK)
            {
                equipmentSets.RemoveAt(selectedIndex);
                MBNPCCharacterEquipmentSet equipmentSet = new MBNPCCharacterEquipmentSet();
                equipmentSet.Equipments = characterEquipmentsEditor.Equipments;
                equipmentSet.IsCivilian = characterEquipmentsEditor.IsCivilian;
                equipmentSets.Insert(selectedIndex, equipmentSet);
                RefreshData();
            }
        }