Exemple #1
0
        private void retourPageAnimal_Click(object sender, EventArgs e)
        {
            AnimauxInterface toShow = new AnimauxInterface();

            toShow.Show();
            this.Hide();
        }
Exemple #2
0
 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();
 }
Exemple #3
0
        private void animalsButton_Click(object sender, EventArgs e)
        {
            AnimauxInterface animauxInterface = new AnimauxInterface();

            animauxInterface.Show();
        }