Пример #1
0
        public Page()
        {
            InitializeComponent();

            TestButton b = new TestButton();
            TestPanel p = new TestPanel();

            LayoutRoot.Children.Add(p);

            p.Children.Add(b);

            Console.WriteLine("hi");
        }
Пример #2
0
        public Page()
        {
            InitializeComponent();

            TestButton b = new TestButton();
            TestPanel  p = new TestPanel();

            LayoutRoot.Children.Add(p);

            p.Children.Add(b);

            Console.WriteLine("hi");
        }