protected override string Export() { NXamlExporter exporter = new NXamlExporter(document); string fileName = Path.Combine(Application.StartupPath, "test.xaml"); exporter.SaveToFile(fileName); return(fileName); }
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); }