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

            frmPoliza.ShowDialog(Principal.Instance);
            frmPoliza.Dispose();
        }
Exemple #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();
        }
Exemple #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();
 }
Exemple #4
0
 private void btnPolizaAgregar_Click(object sender, EventArgs e)
 {
     var frmPoliza = new PolizaContable();
     frmPoliza.ShowDialog(Principal.Instance);
     frmPoliza.Dispose();
 }