Exemplo n.º 1
0
 void IInitializable.Initialize()
 {          
     m_control = new TerrainEditorControl();
     ControlInfo cinfo = new ControlInfo("Terrain Editor", "Edit terrain properties", StandardControlGroup.Right);
     m_controlHostService.RegisterControl(m_control, cinfo, null);
     m_contextRegistry.ActiveContextChanged += ContextRegistry_ActiveContextChanged;
 }
Exemplo n.º 2
0
        void IInitializable.Initialize()
        {
            m_control = new TerrainEditorControl();
            ControlInfo cinfo = new ControlInfo("Terrain Editor", "Edit terrain properties", StandardControlGroup.Right);

            m_controlHostService.RegisterControl(m_control, cinfo, null);
            m_contextRegistry.ActiveContextChanged += ContextRegistry_ActiveContextChanged;
        }
Exemplo n.º 3
0
 void IInitializable.Initialize()
 {          
     m_control = new TerrainEditorControl();
     ControlInfo cinfo = new ControlInfo("Terrain Editor", "Edit terrain properties", StandardControlGroup.Right);
     m_controlHostService.RegisterControl(m_control, cinfo, null);
     m_contextRegistry.ActiveContextChanged += ContextRegistry_ActiveContextChanged;
     m_settingsService.RegisterSettings(
         this, new BoundPropertyDescriptor(this, () => SplitterDistance, "SplitterDistance", null, null));
     m_mainForm.Loaded += (sender, e) => m_control.SplitterDistance = m_splitterDistance;                
 }
Exemplo n.º 4
0
        void IInitializable.Initialize()
        {
            m_control = new TerrainEditorControl();
            ControlInfo cinfo = new ControlInfo("Terrain Editor", "Edit terrain properties", StandardControlGroup.Right);

            m_controlHostService.RegisterControl(m_control, cinfo, null);
            m_contextRegistry.ActiveContextChanged += ContextRegistry_ActiveContextChanged;
            m_settingsService.RegisterSettings(
                this, new BoundPropertyDescriptor(this, () => SplitterDistance, "SplitterDistance", null, null));
            m_mainForm.Loaded += (sender, e) => m_control.SplitterDistance = m_splitterDistance;
        }