예제 #1
0
        public Agregar()
        {
            InitializeComponent();

            radicaciones = new CNRadicaciones();
            personas     = new CNPersonas();

            CargarComboProveedor();
        }
예제 #2
0
        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);
        }