Example #1
0
        private void btnNuevaGuia_Click(object sender, EventArgs e)
        {
            frmNotadeDebitoCompra form2 = new frmNotadeDebitoCompra();

            form2.MdiParent = this.MdiParent;
            form2.Proceso   = 1;
            form2.Show();
            this.Close();
        }
Example #2
0
 private void dgvNotasCredito_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (dgvNotasCredito.Rows.Count >= 1 && e.RowIndex != -1)
     {
         frmNotadeDebitoCompra form = new frmNotadeDebitoCompra();
         form.MdiParent = this.MdiParent;
         form.CodNotaS  = Convert.ToInt32(codFact);
         form.DocRef    = DocRef;
         form.Proceso   = 3;
         form.Show();
     }
 }
Example #3
0
 private void btnIrPedido_Click(object sender, EventArgs e)
 {
     if (dgvNotasCredito.Rows.Count >= 1 && dgvNotasCredito.CurrentRow != null)
     {
         DataGridViewRow       row  = dgvNotasCredito.CurrentRow;
         frmNotadeDebitoCompra form = new frmNotadeDebitoCompra();
         form.MdiParent = this.MdiParent;
         form.CodNotaS  = Convert.ToInt32(codFact);
         form.DocRef    = DocRef;
         form.Proceso   = 3;
         form.Show();
     }
 }