private void listeLot(object sender, RoutedEventArgs e) { Child.Children.Clear(); listeLots listeLot = new listeLots(); Child.Children.Add(listeLot); }
private void returnListLot(object sender, RoutedEventArgs e) { listeLots listeLot = new listeLots(); var test = ((StackPanel)this.Parent); test.Children.Clear(); test.Children.Add(listeLot); }