private void simpleActionTestCadnOrgnl_Execute(object sender, DevExpress.ExpressApp.Actions.SimpleActionExecuteEventArgs e) { Certificado cert = View.CurrentObject as Certificado; FacturaE fac = new FacturaE(); NegocioAdmin.VaciaStructCert(fac, cert, View.ObjectSpace); fac.LeeInfoCFD(/*cert*/); if (fac.TestKy("Prueba de Genera Sello" /*, null*/)) { // FacturaE.GeneraSello("||3.2|2014-01-13T15:39:40|ingreso|PAGO EN UNA SOLA EXHIBICION|10.00|0.00|1.00000|MXN|11.60|NO IDENTIFICADO|Uaxaca,|No Identificado|AAA010101AAA|EMPRESA INVALIDA|Calle empresa|Numero|Colonia|Delegacion|Uaxaca|MÉXICO|codig|Calle empresa|MÉXICO|Regimen de la empresa|XAXX010101000|Cliente de mostrador nacional|DISTRITO FEDERAL|MÉXICO|1|Kilogramo|SRVC|SERVICIO CON IMPUESTO|10.00|10.00|IVA|16|1.60|1.60||"); XtraMessageBox.Show("Todo Bien !", "Certificado", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information); } }