Beispiel #1
0
        private void canjearPorLetraToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DataGridViewRow Row = dgvPagos.SelectedRows[0];

            fac.CodFactura = Convert.ToInt32(Row.Cells[codnota.Name].Value);
            frmCanjearLetra form = new frmCanjearLetra();

            form.notaI   = fac;
            form.Procede = 1;
            form.ShowDialog();
            CargaLista();
        }
Beispiel #2
0
 private void canjearPorLetraToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (dgvCobros.SelectedRows.Count > 0)
     {
         DataGridViewRow Row = dgvCobros.CurrentRow;
         venta.CodFacturaVenta = Row.Cells[codnota.Name].Value.ToString();
         frmCanjearLetra form = new frmCanjearLetra();
         form.venta   = venta;
         form.Procede = 2;
         form.ShowDialog();
         CargaLista();
     }
 }