void BuildCurveCombo() { CurveType.Items.Clear(); foreach (INCCAnalysisParams.CurveEquation cs in Enum.GetValues(typeof(INCCAnalysisParams.CurveEquation))) { CurveType.Items.Add(cs.ToDisplayString()); } CurveType.Refresh(); CurveType.SelectedIndex = (int)CurveEquation; }