|
@@ -4,11 +4,10 @@ namespace ExamGromov
|
|
|
{
|
|
|
internal class Program
|
|
|
{
|
|
|
-
|
|
|
static void Main(string[] args)
|
|
|
{
|
|
|
ReadCSV.getDannye("data.txt");
|
|
|
- DebugAndTrace.Otladka();
|
|
|
+ DebugAndTrace.OtladkaOtrk();
|
|
|
while (true)
|
|
|
{
|
|
|
Console.WriteLine("\n1. Исходные данные");
|
|
@@ -17,8 +16,10 @@ namespace ExamGromov
|
|
|
Console.WriteLine("4. Чистка экрана");
|
|
|
Console.WriteLine("5. Закрытие программы");
|
|
|
Console.Write("Выбертие действие -> ");
|
|
|
-
|
|
|
- switch (Convert.ToInt32(Console.ReadLine()))
|
|
|
+ int vibor = Convert.ToInt32(Console.ReadLine());
|
|
|
+ if(vibor != 5)
|
|
|
+ DebugAndTrace.ViborDeistv();
|
|
|
+ switch (vibor)
|
|
|
{
|
|
|
case 1:
|
|
|
ReadCSV.showIshodDannye();
|
|
@@ -33,6 +34,7 @@ namespace ExamGromov
|
|
|
Console.Clear();
|
|
|
break;
|
|
|
case 5:
|
|
|
+ DebugAndTrace.Close();
|
|
|
Environment.Exit(0);
|
|
|
break;
|
|
|
default:
|
|
@@ -41,6 +43,5 @@ namespace ExamGromov
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
}
|