public Agregar(CEOrden orden) { InitializeComponent(); this.orden = orden; movimientos = new CNMovimientos(); DateSelect.Text = DateTime.Now.ToString("yyyy-MM-dd"); CargarRecogidas(); }
public Agregar(CEOrden orden) { InitializeComponent(); this.orden = orden; equipos = new CNEquipos(); movimientos = new CNMovimientos(); DateSelect.Text = DateTime.Now.ToString("yyyy-MM-dd"); CargarInstalaciones(); }
public Gestionar() { InitializeComponent(); movimientos = new CNMovimientos(); Dock = DockStyle.Fill; origen = new BindingSource(movimientos.CargarRecogidaTableFilter(), "INV.RECOGIDAS"); origen.ListChanged += new ListChangedEventHandler(origen_ListChanged); tblRecogidasFilter.DataSource = origen; lblTotalRows.Text = string.Format("Total recogidas {0}", this.origen.List.Count); }
public Gestionar() { InitializeComponent(); movimientos = new CNMovimientos(); Dock = DockStyle.Fill; origen = new BindingSource(movimientos.CargarInstalaciones(), "INV.INSTALACIONES"); origen.ListChanged += new ListChangedEventHandler(origen_ListChanged); tblInstalacionesFilter.AutoGenerateColumns = false; tblInstalacionesFilter.DataSource = origen; lblTotalRows.Text = string.Format("Total instalaciones {0}", this.origen.List.Count); }