コード例 #1
0
        private void ExtensionUpdateChannel_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (!_loaded)
            {
                return;
            }

            if (JsonHelper.ReadString(Config.Settings.Json, "updateChannel") !=
                ExtensionUpdateChannel.SelectedItem.ToString())
            {
                Config.Settings.Json = JsonHelper.ChangeValue(Config.Settings.Json, "updateChannel",
                                                              ExtensionUpdateChannel.SelectedItem.ToString());
            }
        }