public EventCommandStartCommonEvent(StartCommmonEventCommand refCommand, FrmEvent editor) { InitializeComponent(); mMyCommand = refCommand; mEventEditor = editor; InitLocalization(); cmbEvent.Items.Clear(); cmbEvent.Items.AddRange(EventBase.Names); cmbEvent.SelectedIndex = EventBase.ListIndex(refCommand.EventId); }
private static string GetCommandText(StartCommmonEventCommand command, MapInstance map) { return(Strings.EventCommandList.commonevent.ToString(EventBase.GetName(command.EventId))); }