首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

有空进来帮忙看看!解决方案

2012-02-02 
有空进来帮忙看看!System.Configuration.SettingsPropertypropertynewSystem.Configuration.SettingsProp

有空进来帮忙看看!
System.Configuration.SettingsProperty   property   =   new   System.Configuration.SettingsProperty( "Left ");
property.PropertyType   =   typeof(int);
property.DefaultValue   =   value;
Properties.Settings.Default.Properties.Add(property);
Properties.Settings.Default.Save();

请问下,为什么这样无法保存动态添加的设置?谢谢!

[解决办法]
学习,我也搞不明白Property的用法。呵呵

热点排行