private void Action1Param1Combobox_SelectedIndexChanged(object sender, EventArgs e)
{
ComboBox box = (sender as ComboBox);
if (box == this.Action1Param1Combobox)
Action1Param1Tbox.Text = Action1Param1Combobox.SelectedIndex.ToString();
else if (box == this.Action2Param1Combobox)
Action2Param1Tbox.Text = Action2Param1Combobox.SelectedIndex.ToString();
else if (box == this.Action3Param1Combobox)
Action3Param1Tbox.Text = Action3Param1Combobox.SelectedIndex.ToString();
if (!locked)
GetEventData();
}