private void label25_Click(object sender, EventArgs e)
        {
            Donation D = new Donation();

            this.Hide();
            D.Show();
        }
示例#2
0
        private void label8_Click(object sender, EventArgs e)
        {
            Donation be = new Donation();

            this.Hide();
            be.Show();
        }
        private void UpdateEntry_Click(object sender, EventArgs e)
        {
            dc.UpdateDonation(int.Parse(textBox5.Text), textBox1.Text, textBox2.Text, textBox3.Text, textBox4.Text);
            Donation D = new Donation();

            this.Hide();
            D.Show();
        }
        private void CreateEntry_Click(object sender, EventArgs e)
        {
            DonationsController dc = new DonationsController();

            dc.RegisterDonation(textBox1.Text, textBox2.Text, textBox3.Text, textBox4.Text);
            Donation D = new Donation();

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