Exemple #1
0
        private void listeEnchère(object sender, RoutedEventArgs e)
        {
            Child.Children.Clear();
            listeEnchères listeEnchère = new listeEnchères();

            Child.Children.Add(listeEnchère);
        }
        private void returnListEnchere(object sender, RoutedEventArgs e)
        {
            listeEnchères listeEnchère = new listeEnchères();

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

            test.Children.Clear();
            test.Children.Add(listeEnchère);
        }