Esempio n. 1
0
        private void OpenKerkythea_Click(object sender, RoutedEventArgs e)
        {
            Cursor = Cursors.Wait;
            var input  = "kerkytheatest.xml";
            var output = "kerkytheatest.png";

            Viewport3DHelper.Export(view1.Viewport, input);
            var ktl = new KerkytheaLauncher {
                InputFile = input, OutputFile = output
            };
            var p = ktl.Start();

            p.WaitForExit();
            Process.Start(output);
            Cursor = Cursors.Arrow;
        }
 private void OpenKerkythea_Click(object sender, RoutedEventArgs e)
 {
     Cursor = Cursors.Wait;
     var input = "kerkytheatest.xml";
     var output = "kerkytheatest.png";
     Viewport3DHelper.Export(view1.Viewport, input);
     var ktl = new KerkytheaLauncher { InputFile = input, OutputFile = output };
     var p = ktl.Start();
     p.WaitForExit();
     Process.Start(output);
     Cursor = Cursors.Arrow;
 }