//读取文本文件内容并显示
/*if (MyFile.Open(str_path, CFile::modeRead))
{
int
nLength = MyFile.GetLength();
char*
szChar = new char[nLength + 1];
MyFile.Read(szChar, nLength);
szChar[nLength] = 0;
strText.Format("%s", szChar);
m_edit_content.SetWindowText(strText);
delete szChar;
MyFile.Close();
}
else
{
MessageBox("打开文件失败", "信息提示", MB_ICONINFORMATION);
}*/