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