private void actions1_selected_index_changed(object o, EventArgs e) { if (null != animation && 0 <= actions1.SelectedIndex) { animation.current1 = animation.actions[actions1.SelectedIndex]; animation.update_animation(); update_actions1(); } }