adding items to forms' resource files

A

Andrew Sharpe

Please let me know if there is a better way to do this.

I have set the Localizable property of my forms to true,
meaning of course that it will persist the properties of
the controls of my forms in the resource file for that
form. But my question is, how do I add additional
properties for that form to the resource file? For
instance, I have error messages, tooltips, log messages,
etc., associated with each form. It makes sense to me to
be able to add those to the form's resource file and then
to be able to reference them from within code (using the
resource variable that VS generates). However when I add
them, after I make changes to the form in Visual Studio,
the items I added are gone.

I am aware that I can create a new resource file and
reference from there but I'd like to avoid that since
there is already a resource file for each form created.

Thanks for any tips,

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top