public CustomRenderSettingsSectionsPlugIn()
        {
            Instance = this;

            // Create custom section
            m_render_section1 = new CustomRenderSection1();
        }
Beispiel #2
0
        public CustomRenderSettingsSectionsPlugIn()
        {
            Instance = this;

            // Create two custom sections
            m_render_section1 = new CustomRenderSection1();
            m_render_section2 = new CustomRenderSection2();

            // Create viewmodel to share same datasource for
            // both sections
            CustomRenderSettingsViewModel vm = new CustomRenderSettingsViewModel();

            m_render_section1.SetViewModel(vm);
            m_render_section2.SetViewModel(vm);
        }