Full
This commit is contained in:
parent
dfce5be428
commit
0eecc89211
@ -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)
|
||||
|
@ -151,7 +151,6 @@ namespace ElectricLocomotive.Generics
|
||||
string strs = "";
|
||||
while ((strs = fs.ReadLine()) != null)
|
||||
{
|
||||
|
||||
if (strs == null)
|
||||
{
|
||||
throw new FileNotFoundException("Нет данных для загрузки");
|
||||
|
@ -32,8 +32,6 @@ namespace ElectricLocomotive.Generics
|
||||
}
|
||||
return collect._collection.Insert(locomotive, new DrawningLocomotiveEqutables());
|
||||
}
|
||||
|
||||
|
||||
/// Перегрузка оператора вычитания
|
||||
public static T? operator -(LocomotivesGenericCollection<T, U> collect, int pos)
|
||||
{
|
||||
|
@ -30,8 +30,6 @@ namespace ElectricLocomotive
|
||||
|
||||
public int Insert(T loco, int position, IEqualityComparer<T?>? equal = null)
|
||||
{
|
||||
|
||||
|
||||
if (position < 0 || position >= _maxCount)
|
||||
{
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user