Having another look at that example, it looks like a string table in C++, where you load a string via its ID. The code:
private void UpdateUI()
{
labelFirstName.Text = m_ResourceManager.GetString("labelFirstName");
///
this.Text = m_ResourceManager.GetString("formTitle");
}
is simply loading the items from the resource file by their ID's. There does not seem to be any firm connection between the variable in the code and the string ID.
Are you doing something different, where the ID's are somehow becoming variables? If so could you post a code sample, or direct me to some information on this?