StreamReader sr;
sr = File.OpenText(FILE_NAME0);
while ((input=sr.ReadLine())!=null)
{
this.listBox1.Items.Clear();
this.listBox1.Items.Add(input);
}
sr.Close();
sr = File.OpenText(FILE_NAME0);
while ((input=sr.ReadLine())!=null)
{
this.listBox1.Items.Clear();
this.listBox1.Items.Add(input);
}
sr.Close();
this.listBox1.Items.Clear();
把这行放到 while 前面!