#include "stdafx.h" #include "StringManager.h" CString CStringManager::GetStringByIDS(CString ids) { CString corresponding; if (ids == "IDS_STRING_CURVE") { corresponding = "曲线"; } else if (ids == "IDS_STRING_Text") { corresponding = "文本"; } else if (ids == "IDS_STRING_Circle") { corresponding = "圆"; } else if (ids == "IDS_STRING_Image") { corresponding = "图像"; } else if (ids == "IDS_STRING_WMF") { corresponding = "元文件(WMF、EMF)"; } else if (ids == "IDS_STRING_Proportion") { corresponding = "比例尺"; } else if (ids == "IDS_STRING_DrawRect") { corresponding = "矩阵符号"; } else if (ids == "IDS_STRING_Draw") { corresponding = "符号"; } else if (ids == "IDS_STRING_MESH") { corresponding = "曲面"; } else if (ids == "IDS_STRING_Point") { corresponding = "点"; } else if (ids == "IDS_STRING_Frame") { corresponding = "边框"; } else if (ids == "IDS_STRING_MXN") { corresponding = "MXN数据"; } else if (ids == "IDS_STRING_GRID") { corresponding = "直角网"; } else if (ids == "IDS_STRING_NET") { corresponding = "经纬网"; } else if (ids == "IDS_STRING_Other") { corresponding = "其它"; } else if (ids == "IDS_STRING_NORMAL_FAULT") { corresponding = "正断层"; } return corresponding; }