Example #1
0
 private void AsignarValorAVariablesGlobalesDeFormularioDeDetallesDeuda(frmIngresarPago formIngresarPago)
 {
     formIngresarPago.IdDeuda     = IdDeuda;
     formIngresarPago.IdCliente   = IdCliente;
     formIngresarPago.Cliente     = Cliente;
     formIngresarPago.Descripcion = Descripcion;
 }
Example #2
0
 public static frmIngresarPago GetInstancia()
 {
     if (Instancia == null)
     {
         Instancia = new frmIngresarPago();
     }
     return(Instancia);
 }
Example #3
0
        private void AbrirFormularioDetallesDeuda()
        {
            frmIngresarPago formIngresarPago = frmIngresarPago.GetInstancia();

            AsignarValorAVariablesGlobalesDeFormularioDeDetallesDeuda(formIngresarPago);
            HabilitarControlesDeFormularioDetallesDeuda(formIngresarPago, HabilitarControles);
            formIngresarPago.ShowDialog();
            formIngresarPago.BringToFront();
        }
Example #4
0
 private void frmIngresarPago_FormClosing(object sender, FormClosingEventArgs e)
 {
     Instancia = null;
 }
Example #5
0
 private void HabilitarControlesDeFormularioDetallesDeuda(frmIngresarPago formIngresarPago, bool habilitarControles)
 {
     formIngresarPago.HabilitarControles(habilitarControles);
 }