示例#1
0
        public Formulaire(WindowDevis wd)
        {
            InitializeComponent();
            this.wd = wd;
            Devis d = Business.d;

            Prix.Content    = "Prix TOTAL: " + d.Total;
            Nom.Content     = "Nom/Prénom : " + d.Nom;
            Email.Content   = "Email : " + d.Email;
            Adresse.Content = "Adresse : NUKU-HIVA Taiohae";
            Numero.Content  = "Contact : " + d.Numero;
            Id.Content      = "DEVIS N° : " + d.Id;

            MyListPresta.ItemsSource = d.DevisPrestataires;
        }
 public WindowEditDevis(WindowDevis wd)
 {
     InitializeComponent();
     this.wd = wd;
 }
        private void UnfinishedDevis_Click(object sender, RoutedEventArgs e)
        {
            WindowDevis wd = new WindowDevis(this);

            wd.ShowDialog();
        }