Example #1
0
        private void listeLieu(object sender, RoutedEventArgs e)
        {
            Child.Children.Clear();
            listeLieux listeLieu = new listeLieux();

            Child.Children.Add(listeLieu);
        }
        private void returnListLieu(object sender, RoutedEventArgs e)
        {
            listeLieux listelieu = new listeLieux();

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

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