Exemplo n.º 1
0
        private void btnCat_Click(object sender, EventArgs e)
        {
            AddPetForm addPetForm = new AddPetForm("Cat");

            addPetForm.Text = "Add Cat";
            ShowChild(addPetForm);
        }
Exemplo n.º 2
0
        private void btnEtc_Click(object sender, EventArgs e)
        {
            AddPetForm addPetForm = new AddPetForm("Etc");

            addPetForm.Text = "Add Etc";
            ShowChild(addPetForm);
        }
Exemplo n.º 3
0
        private void btnDog_Click(object sender, EventArgs e)
        {
            AddPetForm addPetForm = new AddPetForm("Dog");

            addPetForm.Text = "Add Dog";
            ShowChild(addPetForm);
        }