예제 #1
0
 public void SetMeasureStyle(string name, PointSetStyle style)
 {
     foreach (NuGenPointSet measure in measureList)
     {
         if (measure.Name.Equals(name))
         {
             measure.Style = style;
         }
     }
 }
예제 #2
0
 public void SetCurveStyle(string name, PointSetStyle style)
 {
     foreach (NuGenPointSet curve in curveList)
     {
         if (curve.Name.Equals(name))
         {
             curve.Style = style;
         }
     }
 }
예제 #3
0
        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;
        }