Пример #1
0
        private void LoadPOCServiceGrid()
        {
            var serviceDao = new ServiceDao();

            dataGridView1.AutoGenerateColumns = false;
            dataGridView1.DataSource          = serviceDao.GetAllServices();
        }
Пример #2
0
        private void ShowServices()
        {
            var serviceDao = new ServiceDao();

            dgvServices.AutoGenerateColumns = false;
            dgvServices.DataSource          = serviceDao.GetAllServices();
        }