Пример #1
0
        private void listeVendeur(object sender, RoutedEventArgs e)
        {
            Child.Children.Clear();
            listeVendeurs listeVendeur = new listeVendeurs();

            Child.Children.Add(listeVendeur);
        }
Пример #2
0
        private void returnListVendeur(object sender, RoutedEventArgs e)
        {
            listeVendeurs listeVendeur = new listeVendeurs();

            var test = ((StackPanel)this.Parent);

            test.Children.Clear();
            test.Children.Add(listeVendeur);
        }