Пример #1
0
        private void Clear()
        {
            licencesBindingList = new BindingList <LicenceModel>();
            DriversListGrid.Rows.Clear();
            DriversListGrid.Refresh();

            //DriversListGrid.DataSource = new BindingSource { DataSource = licencesBindingList };
        }
Пример #2
0
        private void Clear()
        {
            DriversListGrid.Rows.Clear();
            DriversListGrid.Refresh();

            driversBindingList = new BindingList <DriverModel>();

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