This commit is contained in:
Игорь Гордеев 2023-12-29 11:02:11 +04:00
parent dfce5be428
commit 0eecc89211
4 changed files with 0 additions and 7 deletions

View File

@ -9,7 +9,6 @@ namespace ElectricLocomotive
{
public partial class FormLocomotiveCollection : Form
{
private readonly LocomotiveGenericStorage _storage;
/// <summary>
/// Логер
@ -124,7 +123,6 @@ namespace ElectricLocomotive
}
//проверяем, удалось ли нам загрузить объект
}
private void ButtonRemoveLocomotive_Click(object sender, EventArgs e)

View File

@ -151,7 +151,6 @@ namespace ElectricLocomotive.Generics
string strs = "";
while ((strs = fs.ReadLine()) != null)
{
if (strs == null)
{
throw new FileNotFoundException("Нет данных для загрузки");

View File

@ -32,8 +32,6 @@ namespace ElectricLocomotive.Generics
}
return collect._collection.Insert(locomotive, new DrawningLocomotiveEqutables());
}
/// Перегрузка оператора вычитания
public static T? operator -(LocomotivesGenericCollection<T, U> collect, int pos)
{

View File

@ -30,8 +30,6 @@ namespace ElectricLocomotive
public int Insert(T loco, int position, IEqualityComparer<T?>? equal = null)
{
if (position < 0 || position >= _maxCount)
{
return -1;