示例#1
0
 public void Worker_Must_Doing(Animals animal)
 {
     Console.WriteLine($"\nWorker {name} must give to eat to {animal.type} {animal.name} {animal.WhatEat}");
 }
示例#2
0
 private void buttonAnimals_Click(object sender, EventArgs e)
 {
     Animals.ShowAllAnimals(sqlConnection, dataGridViewZoo);
 }
示例#3
0
 public void Watch(ZooWorker worker, Animals animals)
 {
     Console.WriteLine($"\nThe worker {worker.name} looking for {animals.type} {animals.name}");
 }
示例#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));
 }