'resource'에 해당되는 글 1건
- 2009/12/26 How to load string from resources in C#
namespace ApplicationForm
{
public partial class MainForm : Form
{
ResourceManager resMgr = null;
public MainForm()
{
InitializeComponent();
resMgr = new ResourceManager("ApplicationForm.Properties.Resources", Assembly.GetExecutingAssembly());
TestResourceString();
}
public void TestResourceString()
{
Debug.WriteLine(resMgr.GetString("IDS_MSG_DEBUG"));
}
}
}


Prev
Rss Feed