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

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