Esempio n. 1
0
        private void propertiesButton_Click(object sender, EventArgs e)
        {
            NuGenPointSet pointSet = GetPointsFromName((string)listBox1.SelectedItem);

            PointSettingsDialog dlg = new PointSettingsDialog(pointSet.Style, false);

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                pointSet.Style = dlg.Style;
            }
        }
Esempio n. 2
0
        private void propertiesButton_Click(object sender, EventArgs e)
        {
            NuGenPointSet pointSet = GetPointsFromName((string)listBox1.SelectedItem);

            PointSettingsDialog dlg = new PointSettingsDialog(pointSet.Style, false);

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                pointSet.Style = dlg.Style;
            }
        }
Esempio n. 3
0
        public void ScaleBar_Settings_Click(object sender, System.EventArgs args)
        {
            PointSettingsDialog dlg = new PointSettingsDialog(ActiveDocument.ScaleStyle, true);

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                ActiveDocument.ScaleStyle = dlg.Style;
                activeView.DrawAll();
                activeView.Refresh();
            }
        }
Esempio n. 4
0
        public void ScaleBar_Settings_Click(object sender, System.EventArgs args)
        {
            PointSettingsDialog dlg = new PointSettingsDialog(ActiveDocument.ScaleStyle, true);

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