Exemplo n.º 1
0
        private void Clear()
        {
            licencesBindingList = new BindingList <LicenceModel>();
            DriversListGrid.Rows.Clear();
            DriversListGrid.Refresh();

            //DriversListGrid.DataSource = new BindingSource { DataSource = licencesBindingList };
        }
Exemplo n.º 2
0
        private void Clear()
        {
            DriversListGrid.Rows.Clear();
            DriversListGrid.Refresh();

            driversBindingList = new BindingList <DriverModel>();

            DriversListGrid.DataSource = new BindingSource
            {
                DataSource = driversBindingList
            };
        }