/// <summary> /// Initializes a new instance of the <see cref="Formulario"/> class. /// </summary> public Formulario() { InitializeComponent(); this.validacion = new ValidacionCampos(); this.negocioLista = new NegocioLista(); this.CargarListaFormulario(); this.intDestino = -1; this.lb_registros_actuales.Text = this.negocioLista.RetornarTotalRegistros().ToString(); }
/// <summary> /// Construtor /// </summary> /// <param name="negocioLista"></param> public ListaController(NegocioLista negocioLista) { this.negocioLista = negocioLista; }