Exemple #1
0
        private void update_animal_btn_Click(object sender, EventArgs e)
        {
            int    index  = animal_list_box.SelectedIndex;
            Animal animal = am.GetAnimal(index);

            animal.Update();
            RefreshNameAnimalList();
        }
Exemple #2
0
 private void add_new_animal_btn_Click(object sender, EventArgs e)
 {
     animal.Update();
     StoreInfo.sharedStoreInfo().main.RefreshNameAnimalList();
     this.Close();
 }