Beispiel #1
0
        private void ShowGeometry(object sender, RoutedEventArgs e)
        {
            var window  = new GraphicalGeometryWindow(GetGeometry());
            var setting = Settings.Load();

            window.CameraPosition = setting.HoleGeometrySetting.CameraPosition;
            window.Show();
            setting.HoleGeometrySetting.CameraPosition = window.CameraPosition;
            Settings.Save(setting);
        }
        private void ShowGeometry(object sender, RoutedEventArgs e)
        {
            var setting = GetSetting();

            SetPlateAngle(setting);
            SetProbeAngle(setting, MinimumAngleUpDown.Value.Value);
            var window = new GraphicalGeometryWindow(setting.Geometry);

            window.Show();
        }