コード例 #1
0
        private void ReInitThemesComboBox()
        {
            cbThemePicker.BeginUpdate();
            cbThemePicker.Items.Clear();
            foreach (var item in _themeProvider.GetThemes().Select(t => t.Name))
            {
                cbThemePicker.Items.Add(item);
            }

            cbThemePicker.SelectedItem = _themeProvider.CurrentTheme.Name;
            cbThemePicker.EndUpdate();
        }