Esempio n. 1
0
        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");
        }
Esempio n. 2
0
        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");
        }
Esempio n. 3
0
 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";
 }
Esempio n. 4
0
        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");
        }