Beispiel #1
0
 private void selectResultItem_Click(object sender, EventArgs e)
 {
     if (selectResult.Visible)
     {
         selectResult.Hide();
     }
     _selectedRaid.ItemRewards.Add(new RaidItem_Info {
         Info = _selectedItem
     });
     _selectedRaidReward = _selectedRaid.ItemRewards[_selectedRaid.ItemRewards.Count - 1];
     UpdateRewardInterface();
 }
Beispiel #2
0
 private void rewardListBox_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (_selectedRaid == null)
     {
         return;
     }
     if (rewardListBox.SelectedItem != null)
     {
         _selectedRaidReward = (RaidItem_Info)rewardListBox.SelectedItem;
     }
     UpdateRewardInterface();
 }