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;
            }
        }
示例#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;
            }
        }
示例#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();
            }
        }
示例#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();
            }
        }