ResourceManager读取txt文件
ResourceManager resourceManager = new ResourceManager("WindowsFormsApplication2.Resource1",
Assembly.GetExecutingAssembly());
MessageBox.Show( resourceManager.GetString("String1"));
//StreamReader sr = new StreamReader(resourceManager.GetStream("TextFile1.txt"), Encoding.GetEncoding("gb2312"));
//StreamReader sr = (StreamReader)resourceManager.GetObject("TextFile1.txt"); string text = sr.ReadLine();
MessageBox.Show(text);
怎么读取txt文件求解答