Esempio n. 1
0
        private void Button_Click_AddLine(object sender, RoutedEventArgs e)
        {
            RéparationPhone phone = new RéparationPhone("", "", "", "", "",
                                                        "", "", "", "");

            Buisness.clients.Add(phone);
        }
Esempio n. 2
0
        public void Button_Click_Add(object sender, RoutedEventArgs e)
        {
            RéparationPhone phone = new RéparationPhone(nom.Text, prenom.Text, modelPhone.Text, mobile.Text, email.Text,
                                                        dateRecu.Text, description.Text, status.Text, prixReparation.Text);

            Buisness.clients.Add(phone);

            this.Close();
        }