예제 #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;
            }
        }
예제 #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();
            }
        }