Ejemplo n.º 1
0
        protected override string Export()
        {
            NXamlExporter exporter = new NXamlExporter(document);
            string        fileName = Path.Combine(Application.StartupPath, "test.xaml");

            exporter.SaveToFile(fileName);
            return(fileName);
        }
Ejemplo n.º 2
0
        private void btnGenerateXaml_Click(object sender, System.EventArgs e)
        {
            NXamlExporter flashExporter = new NXamlExporter(document);
            string        fileName      = Path.Combine(Application.StartupPath, "test.xaml");

            flashExporter.SaveToFile(fileName);
            Process.Start(fileName);
        }