private void btnSave_Click(object sender, EventArgs e) { PluginsFileConfig config=new PluginsFileConfig(); config.PluginTypes.Clear(); foreach (ListViewItem item in this.listViewNow.Items) { config.PluginTypes.Add(item.SubItems[1].Text); } StaticCacheManager.SaveConfig<PluginsFileConfig>(config); MessageBoxHelper.Show("����ɹ�,���˳��ؽ���"); }
private void btnSave_Click(object sender, EventArgs e) { PluginsFileConfig config = new PluginsFileConfig(); config.PluginTypes.Clear(); foreach (ListViewItem item in this.listViewNow.Items) { config.PluginTypes.Add(item.SubItems[1].Text); } StaticCacheManager.SaveConfig <PluginsFileConfig>(config); MessageBoxHelper.Show("保存成功,请退出重进!"); }