public void Curves_Settings_Click(object sender, System.EventArgs args)
        {
            PointsetsDialog dlg = new PointsetsDialog(ActiveDocument.PointSets.Curves, true);

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                dlg.SetPointsets(ActiveDocument.PointSets.Curves);

                UpdateCurveList();

                activeView.DrawAll();
                activeView.Refresh();
            }
        }
        public void Measures_Settings_Click(object sender, System.EventArgs args)
        {
            PointsetsDialog dlg = new PointsetsDialog(ActiveDocument.PointSets.Measures, false);

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                dlg.SetPointsets(ActiveDocument.PointSets.Measures);

                UpdateMeasureList();

                activeView.DrawAll();
                activeView.Refresh();
            }
        }