Revert "tokjo"

This reverts commit 957206ef6a.
This commit is contained in:
Gyula Baranya
2024-01-11 13:34:14 +01:00
parent 957206ef6a
commit f912a3b3df
2 changed files with 1 additions and 25 deletions

View File

@@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -20,22 +19,7 @@ namespace haromszogek
private void button1_Click(object sender, EventArgs e)
{
if (openFileDialog1.ShowDialog()==DialogResult.OK)
{
string[] sorok = File.ReadAllLines(openFileDialog1.FileName);
List<DHaromszog> derekszoguek = new List<DHaromszog>();
for (int i = 0; i < sorok.Length; i++)
{
try
{
DHaromszog dh = new DHaromszog(sorok[i], i + 1);
}
catch (Exception hiba)
{
listBox1.Items.Add(hiba.Message);
}
}
}
openFileDialog1.ShowDialog();
}
private void openFileDialog1_FileOk(object sender, CancelEventArgs e)