private void EventParam1ComboBox_SelectedIndexChanged(object sender, EventArgs e)
{
ComboBox box = (sender as ComboBox);
if (box == this.EventParam1ComboBox)
EventParam1.Text = EventParam1ComboBox.SelectedIndex.ToString();
if (!locked)
GetEventData();
}