C#中 - 如何字符串添加到资源呢? [英] c# - How to add string to resources?

查看:363
本文介绍了C#中 - 如何字符串添加到资源呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将字符串添加到资源。所以,当我重新启动程序该字符串应该是资源。
,当我添加我怎样才能得到它之后?例如:

how to add the string to the resources. So when I restart the program that string should be in the resources. After when I add it how can I get it? For example:

textBox1.Text = // string that I've added;



谢谢...

Thanks...

推荐答案

使用设置他们我用他们一段时间,他们的工作很好。如果要更改的设置,你可以这样做:

Use settings they I've used them for a while and they work great. If you want to change the setting you can do this:

Settings.Default.YourSetting = //Something
Settings.Default.Save();

这篇关于C#中 - 如何字符串添加到资源呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆