Esempio n. 1
0
        public void FillInventoryDataGridView(DataGridView dgv)        //To be moved to ServiceFacade
        {
            StockInService employeeService = new StockInService();
            var            InventoryList   = employeeService.GetInventoryList();

            dgv.DataSource    = InventoryList;
            dgv.ReadOnly      = true;
            dgv.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
            dgv.DefaultCellStyle.SelectionBackColor = Color.Gray;
        }