private void retourPageAnimal_Click(object sender, EventArgs e) { AnimauxInterface toShow = new AnimauxInterface(); toShow.Show(); this.Hide(); }
public InscriptionAnimalInterface(Animaux animalSelected, AnimauxInterface animalInterface, Clients client) { InitializeComponent(); isModification = false; this.client = client; dateTimePicker1.MaxDate = DateTime.Now; this.animalList = animalInterface; animal = animalSelected; this._db = new DB_ENTITIES(); isMan = true; dateNais = DateTime.Now; idAnimal = 0; if (animal != null) { idAnimal = animal.idAnimaux; initializeInput(); isModification = true; } init(); }
private void animalsButton_Click(object sender, EventArgs e) { AnimauxInterface animauxInterface = new AnimauxInterface(); animauxInterface.Show(); }