public Agregar() { InitializeComponent(); radicaciones = new CNRadicaciones(); personas = new CNPersonas(); CargarComboProveedor(); }
public Gestionar() { InitializeComponent(); radicaciones = new CNRadicaciones(); Dock = DockStyle.Fill; //Se crea el origen de datos y se pasa a la tabla de los filtros. origen = new BindingSource(radicaciones.CargarRadicacionesTableFilter(), "INV.RADICACIONES"); origen.ListChanged += new ListChangedEventHandler(origen_ListChanged); tblRadicacionesFilter.DataSource = origen; lblTotalRows.Text = String.Format("Total radicaciones {0}", this.origen.List.Count); }