private void cmbAlgorithm_SelectedIndexChanged(object eventSender, System.EventArgs eventArgs) { if (cmbAlgorithm.SelectedIndex > -1) UpdateRamp(); }