Esempio n. 1
0
 private void LISTToolStripMenuItem3_Click(object sender, EventArgs e)
 {
     try
     {
         Bloodbanks n = new Bloodbanks();
         dgvStaff.DataSource = n.ListBloodbanks();
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 2
0
 private void LISTToolStripMenuItem3_Click(object sender, EventArgs e)
 {
     try
     {
         Bloodbanks n = new Bloodbanks();
         dgvDonors.DataSource = n.ListBloodbanks();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }