Exemplo n.º 1
0
        public ControlHostService(MainWindowAdapter mainWindowAdapter)
        {
            m_mainWindow = mainWindowAdapter.MainWindow as Sce.Atf.Wpf.Controls.MainWindow;
            m_dockPanel = new Wws.UI.Docking.DockPanel();
            m_mainWindow.MainContent = m_dockPanel;
            mainWindowAdapter.Closing += m_mainWindow_Closing;
            mainWindowAdapter.Loaded += m_mainWindow_Loaded;

            // TODO: temporarily stop compiler warning
            // TODO: Needs to be implemented!
            if (DockStateChanged == null) return;
        }
Exemplo n.º 2
0
        public ControlHostService(MainWindowAdapter mainWindowAdapter)
        {
            m_mainWindow               = mainWindowAdapter.MainWindow as Sce.Atf.Wpf.Controls.MainWindow;
            m_dockPanel                = new Wws.UI.Docking.DockPanel();
            m_mainWindow.MainContent   = m_dockPanel;
            mainWindowAdapter.Closing += m_mainWindow_Closing;
            mainWindowAdapter.Loaded  += m_mainWindow_Loaded;

            // TODO: temporarily stop compiler warning
            // TODO: Needs to be implemented!
            if (DockStateChanged == null)
            {
                return;
            }
        }