RamonMotta
Megapat
- Katılım
- 2 Ağustos 2014
- Mesajlar
- 363
- Makaleler
- 1
- Çözümler
- 2
Daha fazla
- Cinsiyet
- Erkek
Çünkülines
değişkeni boş.
Button1_Click fonksiyonunu komple atabilir misiniz?
C#:
{
if (openFile.ShowDialog() == DialogResult.OK)
{
StreamReader sr = new StreamReader(openFile.FileName);
while (line != null)
{
line = sr.ReadLine();
if (line != null)
{
foreach (string line in line)
{
line.Split(new string[] { " " }, StringSplitOptions.None);
string[] coords = line.Split(new string[] { " " }, StringSplitOptions.None);
listBox1.Items.Add(coords[0]);
listBox2.Items.Add(coords[1]);
listBox3.Items.Add(coords[2]);
}
}
}
}