怎样获得zedGraphControl控件中的所有曲线,能否将一次性设置素有曲线的线型,颜色等,谢谢
foreach (CurveItem item in zedGraphControlCurve.GraphPane.CurveList) { LineItem line = (LineItem)item; line.Line.Width = Convert.ToSingle(numericUpDownLineWidth.Value); if (cboxSmooth.Checked) { line.Line.IsSmooth = true; } else { line.Line.IsSmooth = false; } line.IsSelectable = true; }