public void SetMeasureStyle(string name, PointSetStyle style) { foreach (NuGenPointSet measure in measureList) { if (measure.Name.Equals(name)) { measure.Style = style; } } }
public void SetCurveStyle(string name, PointSetStyle style) { foreach (NuGenPointSet curve in curveList) { if (curve.Name.Equals(name)) { curve.Style = style; } } }
public PointSettingsDialog(PointSetStyle origStyle, bool axesScale) { this.origStyle = origStyle; InitializeComponent(); InitializeDefaultSettings(); preview.Paint += new PaintEventHandler(preview_Paint); if (axesScale) { lineConnectAsCombo.Enabled = false; } this.MaximumSize = Size; }