private void label1_Click(object sender, EventArgs e)
        {
            GetAllEntries ge = new GetAllEntries();

            this.Hide();
            ge.Show();
        }
 private void UpdateEntry_Click(object sender, EventArgs e)
 {
     DonationEntryController dec = new DonationEntryController();
     dec.UpdateDonationRetrieving(int.Parse(textBox6.Text),textBox1.Text,textBox2.Text,comboBox2.Text, comboBox3.Text, textBox3.Text, textBox4.Text, textBox5.Text, dateTimePicker1.Value);
     GetAllEntries ge = new GetAllEntries();
     this.Hide();
     ge.Show();
 }
        private void Transfusion_Click(object sender, EventArgs e)
        {
            DonationEntryController dec = new DonationEntryController();

            dec.RegisterDonationRetrieving(textBox1.Text, textBox2.Text, comboBox2.Text, comboBox3.Text, textBox3.Text, textBox4.Text, textBox5.Text, dateTimePicker1.Value);

            GetAllEntries ge = new GetAllEntries();

            this.Hide();
            ge.Show();
        }