public void LoadData()
        {
            dataGridView1.ReadOnly = false;
            DonorsService donorsService = new DonorsService();

            dataGridView1.DataSource = donorsService.GetAll();
        }
        public void LoadData()
        {
            DonorsService donorsService = new DonorsService();

            dataGridView1.DataSource = donorsService.GetAll();

            EmployeeService employeeService = new EmployeeService();

            dataGridView2.DataSource = employeeService.GetAll();
        }
Exemple #3
0
        private void PathologistPanel_Load(object sender, EventArgs e)
        {
            DonorsService donorsService = new DonorsService();

            dataGridView1.DataSource = donorsService.GetAll();
        }