Пример #1
0
        private void InitCoreWindowContentRoot()
        {
            var contentRoot = ContentRootCoordinator.CreateContentRoot(ContentRootType.CoreWindow, Colors.Transparent, null);

            _mainVisualTree = contentRoot.VisualTree;

            //TODO Uno: Add input services
            //m_inputServices.attach(new CInputServices(this));

            //// While the tree is loading, delay async processing (such as downloads and drawing)
            //// until we're ready to raise the Loaded event and render the first frame.
            //if (m_pBrowserHost)
            //{
            //	m_isMainTreeLoading = TRUE;
            //}
        }
Пример #2
0
 public CoreServices()
 {
     ContentRootCoordinator = new ContentRootCoordinator(this);
 }