private void proximoFechaDePago() { if (txtPagoActual.Text != "" && txtPagoFinal.Text != "") { Fecha obtenerProximoPago = new Fecha(); proximaFechaPago = obtenerProximoPago.setProximoPago(dtpFecha.Value, txtPagoActual.Text); } else { MessageBox.Show("es necesario ingresar pagos: / "); } }
private void dtpFecha_ValueChanged(object sender, EventArgs e) { if (txtPagoActual.Text != "" && txtPagoFinal.Text != "") { Fecha obtenerProximoPago = new Fecha(); proximoPago = obtenerProximoPago.setProximoPago(dtpFecha.Value, txtPagoActual.Text); } else { MessageBox.Show("es necesario ingresar pagos: / "); } }