private void cbActions_SelectedIndexChanged(object sender, EventArgs e) { txtActionData.Enabled = CustomAction.UsesActionData((CustomAction.ActionType)cbActions.SelectedIndex); }