2
在我们的项目中的用户控件中的一个,我们已经过时的属性看起来像:防止过时的特性被添加到设计文件
[Browsable (false)]
[Obsolete ("Not currently supported on this control")]
public bool DeferPropertyValueUpdates
每次我编辑包含此控件的窗体,Visual Studio会把这个属性放到.designer文件中。
然后这会产生一个警告,这会让我的老板向我扔东西。
如何阻止Visual Studio将此属性放入?
感谢您的答复。我只接受其他人的回应,因为他需要比你更多的代表(略)! ;-) – 2009-12-21 12:48:11