private void btnSave_Click(object sender, EventArgs e) { mMyCommand.EventId = EventBase.IdFromList(cmbEvent.SelectedIndex); mEventEditor.FinishCommandEdit(); }
private void cmbOnDeathEventParty_SelectedIndexChanged(object sender, EventArgs e) { mEditorItem.OnDeathPartyEvent = EventBase.Get(EventBase.IdFromList(cmbOnDeathEventParty.SelectedIndex - 1)); }
private void cmbEvent_SelectedIndexChanged(object sender, EventArgs e) { mEditorItem.Event = EventBase.Get(EventBase.IdFromList(cmbEvent.SelectedIndex - 1)); }