private void AgentInteractionStateComboBoxSelectedIndexChanged(object sender, EventArgs e) { _States.CurrentAgentInteractionState = (AgentInteractionState)Enum.Parse(typeof(AgentInteractionState), AgentInteractionStateComboBox.Text); }