private void SetPropertyGridObject(NgimuApi.Settings settings)
        {
            m_SettingsTypeDescriptor = new SettingsTypeDescriptor(settings);

            propertyGrid1.SelectedObject = m_SettingsTypeDescriptor;

            propertyGrid1.ExpandAllGridItems();
        }
Example #2
0
 public OptionsForm()
 {
     InitializeComponent();
     settings = new SettingsTypeDescriptor(this);
     propertyGrid.SelectedObject = settings;
 }
Example #3
0
 public SettingsViewModel(ISettingsService settingsService)
 {
     SettingsDescriptor = new SettingsTypeDescriptor(settingsService.Settings);
 }
Example #4
0
 public OptionsForm()
 {
     InitializeComponent();
     settings = new SettingsTypeDescriptor(this);
     propertyGrid.SelectedObject = settings;
 }