Example #1
0
        private void open_Click(object sender, RoutedEventArgs e)
        {
            Frame _frame = new Frame();

            _frame.Content = Page1.getIndexPage();
            LayoutDocument layoutDoc = new LayoutDocument()
            {
                Title = "测试而已"
            };

            layoutDoc.Content = _frame;
            if (!isActive(layoutDoc))
            {
                mainShowSpace.Children.Add(layoutDoc);
            }
        }