Ejemplo n.º 1
0
        private void formFuelCardDriver_Load(object sender, EventArgs e)
        {
            FuelCardDriverList fuelCardDriverList = FuelCardDriverList.getInstance();

            dgvDriverCar.DataSource         = fuelCardDriverList.ToDataTable(_driver);
            dgvDriverCar.Columns[0].Visible = false;
            dgvDriverCar.Columns[1].Visible = false;
            dgvDriverCar.Columns[3].Visible = false;
        }
Ejemplo n.º 2
0
        private void loadDriverList()
        {
            _dgv.DataSource = fuelCardDriverList.ToDataTable(_fuelCard);

            _dgv.Columns[0].Visible               = false;
            _dgv.Columns[1].Visible               = false;
            _dgv.Columns["Номер"].Visible         = false;
            _dgv.Columns["Регион"].Visible        = false;
            _dgv.Columns["Срок действия"].Visible = false;
            _dgv.Columns["Фирма"].Visible         = false;
        }