比如有两个资源文件,en-us.resx和zh-cn.resx
public static string GetLangString(string Key, string langtype, string FilePath)
{
string filename;
switch (langtype)
{
case ''cn'': filename = "zh-cn.resources"; break;
case ''en'': filename = "en-us.resources"; break;
default