c# - Can I delete those items in .resx -
i'm working on c# code. ui , contains .resx file. inside file, there node like:
<data name="ok_button.locked" type="system.boolean, mscorlib, version=1.0.5000.0, culture=neutral, publickeytoken=b77a5c561934e089"> <value>false</value> </data> <data name="ok_button.defaultmodifiers" type="system.codedom.memberattributes, system, version=1.0.5000.0, culture=neutral, publickeytoken=b77a5c561934e089"> <value>private</value> </data> <data name="ok_button.modifiers" type="system.codedom.memberattributes, system, version=1.0.5000.0, culture=neutral, publickeytoken=b77a5c561934e089"> <value>private</value> </data> can delete them?
this happen when tinkered lock feature and/or modifiers property. these properties bit special, not properties of button class. design-time properties have meaning @ design time. designer needs place store values, can't go in initializecomponent() method. .resx file alternative.
if c# project deleting these .resx entries isn't going have effect since have default values. if vb.net project deleting not okay, default modifiers friend, not private.
if delete them not unlikely they'll re-appear again later. battle cannot win, isn't worrywart about.
Comments
Post a Comment