Esempio n. 1
0
 public void Worker_Must_Doing(Animals animal)
 {
     Console.WriteLine($"\nWorker {name} must give to eat to {animal.type} {animal.name} {animal.WhatEat}");
 }
Esempio n. 2
0
 private void buttonAnimals_Click(object sender, EventArgs e)
 {
     Animals.ShowAllAnimals(sqlConnection, dataGridViewZoo);
 }
Esempio n. 3
0
 public void Watch(ZooWorker worker, Animals animals)
 {
     Console.WriteLine($"\nThe worker {worker.name} looking for {animals.type} {animals.name}");
 }
Esempio n. 4
0
 private void buttonOneMoreAnimal_Click(object sender, EventArgs e)
 {
     //Animals.AddOneMore(sqlConnection, dataGridViewZoo, comboBoxSpecies.Text);
     Animals.AddMore(sqlConnection, dataGridViewZoo, comboBoxSpecies.Text, Int32.Parse(textBoxNimberOfNewAnimals.Text));
 }