Autor Wiadomość
ghdhair100
PostWysłany: Śro 9:48, 02 Mar 2011    Temat postu: c# 读TXT文件

openFileDialog1.ShowDialog();
StreamReader str = new StreamReader(openFileDialog1.FileName);
string strlin = str.ReadLine();
while (strlin != null)
{
listBox1.Items.Add(strlin);
strlin = str.ReadLine();
}
str.Close();Many years ago there lived an Emperor who was so exceedingly fond of fine new clothes that he spent vast sums of money on dress. To him clothes meant more than anything else in the world. He took no interes
related links:


如何练习吉他音阶

Powered by phpBB © 2001,2002 phpBB Group