コード例 #1
0
        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();
        }
コード例 #3
0
        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();
        }
コード例 #4
0
        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();
        }