Exemplo n.º 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();
            }
        }
Exemplo n.º 2
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();
            }
        }