Esempio n. 1
0
        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();
            }
        }
Esempio n. 2
0
        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();
            }
        }