private void btnhacercomprobante_Click(object sender, EventArgs e)
 {
     String remitente = this.txtrazonsocial.Text;
     String ruc = this.txtruc.Text;
     int lid = guardar_registro();
     if (lid != 0)
     {
         frmcomprobante a = new frmcomprobante(lid, remitente, ruc, db);
         a.ShowDialog();
     }
 }
예제 #2
0
        private void btnhacercomprobante_Click(object sender, EventArgs e)
        {
            String remitente = this.txtrazonsocial.Text;
            String ruc       = this.txtruc.Text;
            int    lid       = guardar_registro();

            if (lid != 0)
            {
                frmcomprobante a = new frmcomprobante(lid, remitente, ruc, db);
                a.ShowDialog();
            }
        }
예제 #3
0
        private void btncomprobante_Click(object sender, EventArgs e)
        {
            //para crear un nuevo comprobante
            String remitente = this.txtnombres.Text + " " + this.txtapellidos.Text;
            String ruc       = txtruc.Text;
            int    lid       = guardar_registro();

            if (lid != 0)
            {
                frmcomprobante a = new frmcomprobante(lid, remitente, ruc, this.db);
                a.ShowDialog();
            }
        }
 private void btncomprobante_Click(object sender, EventArgs e)
 {
     //para crear un nuevo comprobante
     String remitente = this.txtnombres.Text + " " + this.txtapellidos.Text;
     String ruc = txtruc.Text;
     int lid = guardar_registro();
     if (lid != 0)
     {
         frmcomprobante a = new frmcomprobante(lid, remitente, ruc, this.db);
         a.ShowDialog();
     }
 }