Пример #1
0
        /// <summary>
        /// Finishes initializing component by creating ListView and registering the control</summary>
        void IInitializable.Initialize()
        {
            m_resourceListView = new ResourceListView();

            m_resourcesControlDef = new ControlDef()
            {
                Name = "Resources".Localize(),
                Description = "Resources for selected Event".Localize(),
                Group = StandardControlGroup.Bottom,
                Id = s_resourceListEditorId.ToString()
            };

            m_controlHostService.RegisterControl(m_resourcesControlDef, m_resourceListView, this);
        }
Пример #2
0
        /// <summary>
        /// Finishes initializing component by creating ListView and registering the control</summary>
        void IInitializable.Initialize()
        {
            m_resourceListView = new ResourceListView();

            m_resourcesControlDef = new ControlDef()
            {
                Name        = "Resources".Localize(),
                Description = "Resources for selected Event".Localize(),
                Group       = StandardControlGroup.Bottom,
                Id          = s_resourceListEditorId.ToString()
            };

            m_controlHostService.RegisterControl(m_resourcesControlDef, m_resourceListView, this);
        }