//private void Booking_Button_Click(object sender, RoutedEventArgs e) //{ // //positionDB.booking(this.viewModel_) // string productXmlStr = this.viewModel_.Excel_interfaceViewModel_.productXml(); // // 현재 program foler로 저장됨 // System.IO.File.WriteAllText("testProductInfo.xml", productXmlStr); // MessageBoxResult result = MessageBox.Show("test booking OK"); //} private void product_xmlBuild_Button_Click(object sender, RoutedEventArgs e) { string productXmlStr = this.viewModel_.Excel_interfaceViewModel_.productXml(); Window w = new Window(); XMLViewer.Viewer v = new XMLViewer.Viewer(); XmlDocument XMLdoc = new XmlDocument(); XMLdoc.LoadXml(productXmlStr); v.xmlDocument = XMLdoc; w.Content = v; w.ShowDialog(); }