Example #1
0
        private void btnPolizaAgregar_Click(object sender, EventArgs e)
        {
            var frmPoliza = new PolizaContable();

            frmPoliza.ShowDialog(Principal.Instance);
            frmPoliza.Dispose();
        }
Example #2
0
        private void dgvDetalle_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (this.dgvDetalle.CurrentRow == null)
            {
                return;
            }
            int iPolizaID = Util.Entero(this.dgvDetalle.CurrentRow.Cells["ContaPolizaID"].Value);
            var frmPoliza = new PolizaContable();

            frmPoliza.ModPolizaID = iPolizaID;
            frmPoliza.HacerModificacionMinima();
            if (frmPoliza.ShowDialog(Principal.Instance) == DialogResult.OK)
            {
                this.LlenarArbol();
            }
            frmPoliza.Dispose();
        }
Example #3
0
 private void dgvDetalle_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (this.dgvDetalle.CurrentRow == null) return;
     int iPolizaID = Util.Entero(this.dgvDetalle.CurrentRow.Cells["ContaPolizaID"].Value);
     var frmPoliza = new PolizaContable();
     frmPoliza.ModPolizaID = iPolizaID;
     frmPoliza.HacerModificacionMinima();
     if (frmPoliza.ShowDialog(Principal.Instance) == DialogResult.OK)
         this.LlenarArbol();
     frmPoliza.Dispose();
 }
Example #4
0
 private void btnPolizaAgregar_Click(object sender, EventArgs e)
 {
     var frmPoliza = new PolizaContable();
     frmPoliza.ShowDialog(Principal.Instance);
     frmPoliza.Dispose();
 }