Пример #1
0
 private void CopyItemButton_Click(object sender, EventArgs e)
 {
     activeItemData = SREditor.CopyItem(activeItemData);
     UpdateItemInfo();
     ItemListBox.SelectedIndex = itemDTOs.IndexOf(activeItemData);
     //UpdateUI();
 }
Пример #2
0
 private void ItemListBox_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (ItemListBox.SelectedItem != null)
     {
         activeItemData = (dto.ItemData)ItemListBox.SelectedItem.GetMemberValue("Value");
         ExtraNameTextBox.Clear();
         ExtraDescriptionTextBox.Clear();
         UpdateUI();
     }
 }