日期:2014-05-19  浏览次数:20719 次

有空进来帮忙看看!
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的用法。呵呵