public string Init() { /* StringWriter stringWriter = new StringWriter(); XmlTextWriter xmltextWriter = new XmlTextWriter("c:\\eulises_test.xml", null); // Start document xmltextWriter.WriteStartDocument(); xmltextWriter.WriteStartElement("ROOT"); //Create a page element xmltextWriter.WriteStartElement("Page"); xmltextWriter.WriteAttributeString("Action", "propiedad_action"); xmltextWriter.WriteAttributeString("Atributo2", "Atributo2" ); xmltextWriter.WriteEndElement(); // Same for the other lists // End document xmltextWriter.WriteEndElement(); xmltextWriter.Flush(); xmltextWriter.Close(); stringWriter.Flush(); */ FrmSeleccionarImpresora f = new FrmSeleccionarImpresora(); f.ShowDialog(); return ("procedure INIT ok"); }
public string Init() { /* * StringWriter stringWriter = new StringWriter(); * XmlTextWriter xmltextWriter = new XmlTextWriter("c:\\eulises_test.xml", null); * * // Start document * xmltextWriter.WriteStartDocument(); * xmltextWriter.WriteStartElement("ROOT"); * * //Create a page element * xmltextWriter.WriteStartElement("Page"); * xmltextWriter.WriteAttributeString("Action", "propiedad_action"); * xmltextWriter.WriteAttributeString("Atributo2", "Atributo2" ); * xmltextWriter.WriteEndElement(); * * // Same for the other lists * // End document * xmltextWriter.WriteEndElement(); * xmltextWriter.Flush(); * xmltextWriter.Close(); * stringWriter.Flush(); */ FrmSeleccionarImpresora f = new FrmSeleccionarImpresora(); f.ShowDialog(); return("procedure INIT ok"); }
public string ConfigPrinter(string windowstitle) { Trace.TraceInformation("ConfigPrinter"); FrmSeleccionarImpresora f = new FrmSeleccionarImpresora(); f.Text = "Seleccionar Impresora: " + windowstitle.ToUpper(); f.ShowDialog(); return "ConfigurarImpresora la clase ServicePrinter"; }
public string ConfigPrinter(string windowstitle) { Trace.TraceInformation("ConfigPrinter"); FrmSeleccionarImpresora f = new FrmSeleccionarImpresora(); f.Text = "Seleccionar Impresora: " + windowstitle.ToUpper(); f.ShowDialog(); return("ConfigurarImpresora la clase ServicePrinter"); }