private void AbrirFormCodeudor(object sender, EventArgs args) { using (formCodeudor = new FormCodeudor()) { formCodeudor.tbxCuota.Text = this.formVariablesAnalisisComercial.tbxCuota.Text; formCodeudor.ShowDialog(); } }
private void AbrirFormCodeudor(object sender, EventArgs args) { using (formCodeudor = new FormCodeudor()) { formCodeudor.cbxFormaDePago.Text = this.formVariables.cbxFormaDePago.Text; formCodeudor.tbxCuota.Text = this.formVariables.tbxCuota.Text; if (this.formVariables.cbxFormaDePago.Text == "Caja") { formCodeudor.tbxAfectacionColilla.Text = "N/A"; formCodeudor.tbxAfectacionColilla.Enabled = false; formCodeudor.cbxLeyLibranza.Visible = false; } formCodeudor.ShowDialog(); } }