Beispiel #1
0
        public void Segments_Settings_Click(object sender, System.EventArgs args)
        {
            SegmentsDialog dlg = new SegmentsDialog(ActiveDocument.SegmentSettings);

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                ActiveDocument.SegmentSettings = dlg.SegmentSettings;
                ActiveDocument.DrawSegments();
                activeView.DrawAll();
                activeView.Refresh();
            }
        }
        public void Segments_Settings_Click(object sender, System.EventArgs args)
        {
            SegmentsDialog dlg = new SegmentsDialog(ActiveDocument.SegmentSettings);

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                ActiveDocument.SegmentSettings = dlg.SegmentSettings;
                ActiveDocument.DrawSegments();
                activeView.DrawAll();
                activeView.Refresh();
            }
        }