//string path = textBox1.Text;
// StreamReader sr = new StreamReader(path, Encoding.GetEncoding("gb2312"));//读取文件
// string str=null;
// while ((str = sr.ReadLine()) != null)//判断行
// {
// listBox1.Items.Add(str);
// }